This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55555] New: [4.8 Regression] miscompilation at -O2
- From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Dec 2012 15:46:09 +0000
- Subject: [Bug middle-end/55555] New: [4.8 Regression] miscompilation at -O2
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55555
Bug #: 55555
Summary: [4.8 Regression] miscompilation at -O2
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Joost.VandeVondele@mat.ethz.ch
Created attachment 28845
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28845
testcase
The attached testcase is miscompiled at -O2, but runs fine at -O1.
To reproduce
gfortran -O2 bug.f90 ; ./a.out
#3 0x400C7E in MAIN__ at bug.f90:97
Aborted
I believe this is a recent regression on trunk. Tested with
gcc version 4.8.0 20121201 (experimental) [trunk revision 194017] (GCC)