This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27981] Strange error message for illegal integer constant
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2006 05:03:59 -0000
- Subject: [Bug fortran/27981] Strange error message for illegal integer constant
- References: <bug-27981-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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