If I revert the following line from module.c:

Index: module.c
===================================================================
--- module.c    (revision 131134)
+++ module.c    (working copy)
@@ -3732,7 +3732,6 @@
              if (st && only_flag
                     && !st->n.sym->attr.use_only
                     && !st->n.sym->attr.use_rename
-                    && st->n.sym->module
                     && strcmp (st->n.sym->module, module_name) == 0)
                st->name = gfc_get_string ("hidden.%s", name);

the attached build runs into a segmentation fault.

It is suspected that the above "fix" just papers over the real problem.

To get the ICE, unpack the accompanying tar file and type "make all".


-- 
           Summary: module name without a module
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: toon at moene dot indiv dot nluug dot nl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34567

Reply via email to