[Bug libfortran/69651] Usage of unitialized pointer io/list_read.c
kyukhin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 8 06:43:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69651
--- Comment #5 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
A bug in fortran's IO RT has emerged during 21 Apr 2016,
between r222254 and r222292;
looks like it's caused by the same revision –r222271
(libgfortran/io/list_read.c ), which probably just triggers
another hidden bug.
Trying two builds (as of 21 and 22 Apr ):
$ gfortran-20160421 -O0 T.f90 -static
$ ./a.out
res, (1) == 1 !
### Ok ^^^^^^^^
$ gfortran-20160422 -O0 T.f90 -static
$ ./a.out
res, (1) == 80 @p¼B
### FAIL – garbage is read in ^^^^^^^^
More information about the Gcc-bugs
mailing list