https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2019-02-27 CC| |anlauf at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the test with -Wsurprising gives an ICE from 4.8 up to trunk (9.0). Note that my instrumented compiler gives ../../work/gcc/fortran/check.c:5506:24: runtime error: store to null pointer of type 'size_t' for 9.0, i.e., in new code, while gcc8 gives ../../work/gcc/fortran/decl.c:1814:37: runtime error: member access within null pointer of type 'struct gfc_expr'