[Bug target/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 23 15:05:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494

--- Comment #1 from vries at gcc dot gnu.org 2011-09-23 14:52:55 UTC ---
Created attachment 25348
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25348
test.c minimized from gcc.dg/vect/vect-reduc-2char.c

To reproduce:

$ powerpc-linux-gnu-gcc -O2 -ftree-vectorize test.c -flto -maltivec -static
$ ./a.out ; echo $?
218

The problematic code is still generated without -static, but for me this
minimal testcase does not fail runtime without the -static.



More information about the Gcc-bugs mailing list