https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80727
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Known to work| |5.4.0, 6.3.0
Keywords| |wrong-code
Last reconfirmed| |2017-05-12
CC| |jvdelisle at gcc dot gnu.org
Ever confirmed|0 |1
Summary|Crash of runtime gfortran |[7/8 Regression] Crash of
|library during integer |runtime gfortran library
|transformation |during integer
| |transformation
Target Milestone|--- |7.2
Known to fail| |7.1.0, 8.0
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Simplified test (the infamous IO of numerical values with the '(A)' format)
PROGRAM GFORTRAN_710_IO_BUG
CHARACTER STR*4
INTEGER*4 I4
str =''
i = 256
write(str,fmt='(A)') I
print *, ichar(str(1:1)), ichar(str(2:2)), ichar(str(3:3)),
ichar(str(4:4))
READ ( UNIT=STR(1:4), FMT='(A)' ) I4
WRITE ( 6, * ) ' I4= ', I4
END PROGRAM GFORTRAN_710_IO_BUG
Likely caused by r246478 (pr78881).