[Bug middle-end/50199] [5 Regression] wrong code with -flto -fno-merge-constants
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 07:58:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199
--- Comment #32 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:54:21 2017
New Revision: 248638
URL: https://gcc.gnu.org/viewcvs?rev=248638&root=gcc&view=rev
Log:
Backported from mainline
2017-01-11 Jakub Jelinek <jakub@redhat.com>
PR middle-end/50199
* lto-lang.c (lto_post_options): Force flag_merge_constants = 1
if it was 0.
* gcc.dg/lto/pr50199_0.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/lto/pr50199_0.c
Modified:
branches/gcc-5-branch/gcc/lto/ChangeLog
branches/gcc-5-branch/gcc/lto/lto-lang.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list