This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/69651] Usage of unitialized pointer io/list_read.c


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 ^^^^^^^^

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]