Commit 01956319 by Richard Henderson Committed by Richard Henderson

re PR bootstrap/45381 (Bootstrap failure for powerpc-apple-darwin9: error:…

re PR bootstrap/45381 (Bootstrap failure for powerpc-apple-darwin9: error: AltiVec argument passed to unprototyped function)

PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.

From-SVN: r171165
parent ef8623b3
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>
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment