https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87908
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery, | |ice-on-invalid-code CC| |egallager at gcc dot gnu.org Severity|normal |minor --- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #1) > > ICE affects versions 8/9 : > > For gcc7 I see > > (null):0: confused by earlier errors, bailing out > > which is equivalent to an ICE when gcc is configured with > --enable-checking=release > > gcc6 gives > > pr87908.f90:6:21: > > generic :: read(formatted) => g > 1 > Error: Expected '=>' at (1) > pr87908.f90:12:20: > > interface read(formatted) > 1 > Error: Syntax error: Trailing garbage in INTERFACE statement at (1) > pr87908.f90:13:9: > > procedure g > 1 > Error: Unclassifiable statement at (1) > pr87908.f90:14:9: > > end interface > 1 > Error: Expecting END SUBROUTINE statement at (1) > so that makes this an ice-on-invalid then