https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60774
--- Comment #5 from Bud Davis <bdavis at gcc dot gnu.org> --- Index: gcc/gcc/fortran/parse.c =================================================================== --- gcc/gcc/fortran/parse.c (revision 214408) +++ gcc/gcc/fortran/parse.c (working copy) @@ -868,8 +868,6 @@ { gfc_warning_now ("Ignoring statement label in empty statement " "at %L", &label_locus); - gfc_free_st_label (gfc_statement_label); - gfc_statement_label = NULL; return ST_NONE; } } Looks very promising.