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

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 19:07:00 GMT 2013


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

--- Comment #9 from Michael Meissner <meissner at gcc dot gnu.org> 2013-02-12 19:07:18 UTC ---
The -fsection-anchors option appears to be important.  If I use
-fsection-anchors (which is default for powerpc64-linux), LTO does not align
the .rodata section, but uses Altivec memory instructions.  If I use
-fno-section-anchors, the .rodata section is not aligned, but it doesn't use
Altivec memory instructions, so the test passes.



More information about the Gcc-bugs mailing list