[Bug middle-end/50199] [4.7/4.8 Regression] wrong code with -flto -fno-merge-constants

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Jan 14 14:46:00 GMT 2013


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

--- Comment #14 from rguenther at suse dot de <rguenther at suse dot de> 2013-01-14 14:45:48 UTC ---
On 1/11/13 5:02 PM, jakub at gcc dot gnu.org wrote:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199
> 
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jakub at gcc dot gnu.org
> 
> --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-11 16:02:24 UTC ---
> I guess it is again too late to really fix this for 4.8, can we at least error
> out on -fno-merge-constants used together with -flto ?  We'll still fail for
> targets that don't support mergeable string sections, but generally, it makes
> no sense to use -fno-merge-constants together with -flto.

We could, I suppose.  I'm not sure this isn't an issue without LTO
though (possibly way harder to trigger though).



More information about the Gcc-bugs mailing list