http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50178
Bug #: 50178 Summary: [4.6 regression] ICE with gfortran -O3, not with gfortran -02 Classification: Unclassified Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: t...@moene.org Created attachment 25089 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25089 Source code of the failing compilation. Compiling the attached source code with gfortran 4.6.1 using optimization -O3 leads to the following Internal Compiler Error: $ gfortran -O3 -c suedyn.f90 suedyn.f90: In function ‘suedyn’: suedyn.f90:10:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. Compiling with -O2 instead succeeds (hence my suspicion that it is a middle-end failure).