This also works on ifort gfortran -c -O3 -g input.F -o input.o In file input.F:694
if(iprcor.ne.0) print cor 1 -- Summary: Another code sample that gfortran dies on Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: joe at confucius dot gnacademy dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i586-mandrake-linux-gnu GCC host triplet: i586-mandrake-linux-gnu GCC target triplet: i586-mandrake-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21432