diff options
author | Richard Henderson <rth@redhat.com> | 2011-03-18 20:20:35 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2011-03-18 20:20:35 +0000 |
commit | d815db57028c0dc29949023a43d6e35b0abd4d03 (patch) | |
tree | 1c859447ac501eee39d35629bd73bbc9d9285373 | |
parent | 2802eeab8aa4d21b963fe5e56616ef01641aea5b (diff) |
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@171165 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/lex.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index e90f75379d6..6ef4788d99a 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2011-03-18 Richard Henderson <rth@redhat.com> + + PR bootstrap/45381 + * lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5. + 2011-11-04 Eric Botcazou <ebotcazou@adacore.com> Jakub Jelinek <jakub@redhat.com> diff --git a/libcpp/lex.c b/libcpp/lex.c index 5cd56868c3a..c9b5c95df6a 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -512,7 +512,7 @@ init_vectorized_lexer (void) search_line_fast = impl; } -#elif defined(__GNUC__) && defined(__ALTIVEC__) +#elif (GCC_VERSION >= 4005) && defined(__ALTIVEC__) /* A vection of the fast scanner using AltiVec vectorized byte compares. */ /* ??? Unfortunately, attribute(target("altivec")) is not yet supported, |