[Bug fortran/60774] f951: internal compiler error: Segmentation fault: 11

bdavis at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 24 20:19:00 GMT 2014


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.



More information about the Gcc-bugs mailing list