[Bug fortran/20520] allocatable arrays used uninitialized without a warning
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 22 17:37:00 GMT 2009
------- Comment #15 from kargl at gcc dot gnu dot org 2009-11-22 17:37 -------
Using -fcheck=all issues a runtime error.
REMOVE:kargl[218] gfc4x -o z -Wall a2.f90
REMOVE:kargl[219] ./z
Segmentation fault (core dumped)
REMOVE:kargl[220] gfc4x -o z -Wall -fcheck=all a2.f90
REMOVE:kargl[221] ./z
At line 3 of file a2.f90
Fortran runtime error: Index '1' of dimension 1 of array 'b' above upper bound
of 0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20520
More information about the Gcc-bugs
mailing list