re PR bootstrap/45381 (Bootstrap failure for powerpc-apple-darwin9: error: AltiVec...
authorRichard Henderson <rth@redhat.com>
Fri, 18 Mar 2011 20:20:35 +0000 (13:20 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 18 Mar 2011 20:20:35 +0000 (13:20 -0700)
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.

From-SVN: r171165

libcpp/ChangeLog
libcpp/lex.c

index e90f75379d61e8d32908382789327a3719e6d718..6ef4788d99abb59ea0bedc6f13fd0d4e6b19c779 100644 (file)
@@ -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>
 
index 5cd56868c3aeddbcbec1c87aada85612a05d7d1d..c9b5c95df6a55e32567e59a6c1f452dc3b064c72 100644 (file)
@@ -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,