This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/69651] Usage of unitialized pointer io/list_read.c
- From: "kyukhin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Feb 2016 06:43:01 +0000
- Subject: [Bug libfortran/69651] Usage of unitialized pointer io/list_read.c
- Auto-submitted: auto-generated
- References: <bug-69651-4 at http dot gcc dot gnu dot org/bugzilla/>
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 ^^^^^^^^