https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199
--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 17 20:33:16 2017 New Revision: 244553 URL: https://gcc.gnu.org/viewcvs?rev=244553&root=gcc&view=rev Log: Backported from mainline 2017-01-11 Jakub Jelinek <ja...@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-6-branch/gcc/testsuite/gcc.dg/lto/pr50199_0.c Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-lang.c branches/gcc-6-branch/gcc/testsuite/ChangeLog