Hi, the attached code compiles at -O0 but crashes gfortran at -O or higher:
gfcbug43.f90: In function 'try_fit': gfcbug43.f90:43: internal compiler error: in var_ann, at tree-flow-inline.h:130 (I tried to do my best, but I haven't been able to reduce the example further.) Cheers, -ha -- Summary: [Optimization] ICE in var_ann, at tree-flow-inline.h:130 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29788