[Bug fortran/49802] [F2003, F2008] Wrong code with VALUE, F2008: VALUE with arrays/DIMENSION
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 21 16:20:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49802
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
CC| |burnus at gcc dot gnu.org
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-21 16:19:56 UTC ---
The following gives an ICE:
call foo()
call foo("abc")
contains
subroutine foo(str)
character(len=3), value, optional :: str
if (present(str)) print *, str
end subroutine foo
end
More information about the Gcc-bugs
mailing list