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

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Feb 13 09:05:00 GMT 2013


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

--- Comment #11 from rguenther at suse dot de <rguenther at suse dot de> 2013-02-13 09:05:16 UTC ---
On Tue, 12 Feb 2013, meissner at gcc dot gnu.org wrote:

> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494
> 
> --- Comment #10 from Michael Meissner <meissner at gcc dot gnu.org> 2013-02-12 19:16:56 UTC ---
> If -fno-merge-constants (and the default -fsection-anchors) is used, then the
> correct alignment for the table is set (and Altivec memory instructions are
> used).
> 
> At a guess, it is likely be in the gimplify_init_constructor function in
> gimplify.c.

There is special code to handle initializers, it may be well that with
LTO we fail to do the correct thing here.



More information about the Gcc-bugs mailing list