Hi, the attached file crashes gfortran when compiling with "-O" and "-Os", but passes with "-O0", "-O2" and "-O3".
% gfortran -O -c gfcbug65.f90 gfcbug65.f90: In function 'nf90_put_var_7d_fourbyteint': gfcbug65.f90:1: internal compiler error: in build2_stat, at tree.c:3074 ... -- Summary: [Optimization] ICE in build2_stat, at tree.c:3074 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=32527