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