summaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-18 20:20:35 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-18 20:20:35 +0000
commit70ebee13312a4f727ebadeb294a5371d4ac520bb (patch)
tree1c859447ac501eee39d35629bd73bbc9d9285373 /libcpp/lex.c
parentc93727155e2cd58634e4f71455251e5f6395cbae (diff)
downloadgcc-70ebee13312a4f727ebadeb294a5371d4ac520bb.tar.gz
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171165 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r--libcpp/lex.c2
1 files changed, 1 insertions, 1 deletions
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,