[Bug fortran/43899] Wrong unused-variable warning with NAMELISTs
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 4 04:11:00 GMT 2010
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2010-05-04 04:11 -------
What about this?
$ gfc -fbounds-check pr43899.f90
$ ./a.out
&NMLIST NML_STRING='123456789' /
At line 9 of file pr43899.f90 (unit = 7, file = 'example.nml')
Fortran runtime error: Namelist object 'nml_string' exceeds length of character
variable
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43899
More information about the Gcc-bugs
mailing list