This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/18476] internal compiler error on strange read


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]