http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50892
Bug #: 50892 Summary: Internal compiler error: in gimplify_expr, at gimplify.c:7477 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: fkrogh#g...@mathalacarte.com Created attachment 25641 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25641 File test.f90 gives the internal compile error I'm using: GNU Fortran (Gentoo 4.6.1-r1 p1.0, pie-0.4.5) 4.6.1 Compilation flags are: -march=native -funroll-loops -pipe \ -ftree-vectorize -floop-strip-mine \ -floop-block -fimplicit-none -finit-real=NAN -ggdb In addition to the internal compiler error, there is a problem mentioned in a comment. According to a Fortran language lawyer, Fortran 2008 allows two local definitions of procedures to have the same binding label. This problem is illustrated in a comment. I'm mainly filing this bug because of the internal compiler error, which reads as follows: test.f90: In function 'test': test.f90:11:0: internal compiler error: in gimplify_expr, at gimplify.c:7477 Please submit a full bug report, with preprocessed source if appropriate. My CPU is: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz Thanks, Fred