This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18476] internal compiler error on strange read
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2005 13:58:42 -0000
- Subject: [Bug fortran/18476] internal compiler error on strange read
- References: <20041114112505.18476.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From Thomas dot Koenig at online dot de 2005-01-07 13:58 -------
(In reply to comment #3)
> I think we should issue an error, because nml is not ASSIGNed a FORMAT, but
> since g77 accepts this code I'm not sure.
g77 does bomb out at runtime, though; a warning at -Wuninitialized would
probably be best (but g77 doesn't do that).
The case of an assigned integer variable is already covered in
PR 18481. This bug may be a bit different because of the possible
confusion between an integer variable named NML and
the NML option to the read statement.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18476