This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]