This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50199] New: [4.7 Regression] wrong code with -flto -fno-merge-constants
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Aug 2011 19:36:17 +0000
- Subject: [Bug middle-end/50199] New: [4.7 Regression] wrong code with -flto -fno-merge-constants
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199
Bug #: 50199
Summary: [4.7 Regression] wrong code with -flto
-fno-merge-constants
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 25111
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25111
reduced testcase
Output:
$ gcc -O2 -flto -fno-merge-constants --param lto-min-partition=1 testcase.c
$ ./a.out
Aborted
Tested revisions:
r178096 - fail
r178005 - fail
r177982 - OK