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

Reply via email to