------- Comment #1 from kargl at gcc dot gnu dot org 2006-06-10 05:03 ------- Erik,
Thanks for the report. This is yet another example of gfortran's error handling code getting confused. If you remove the "if (.true.)" then you get the error message you want. If the if statement, the error is buffered then gfortran tries a different path to resolve the if clause. gfortran eventually gives up, but the original error is lost. -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27981