[Bug fortran/58023] [F03] ICE on invalid with bad PPC declaration

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 30 17:49:00 GMT 2013


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

--- Comment #5 from janus at gcc dot gnu.org ---
Comment 0 can be fixed by the following additional hunk in resolve.c:


@@ -12148,7 +12147,7 @@ resolve_fl_derived0 (gfc_symbol *sym)
                             "must have at least one argument",
                             c->name, &c->loc);
                  c->tb->error = 1;
-                 return false;
+                 continue;
                }
              me_arg = c->ts.interface->formal->sym;
            }



More information about the Gcc-bugs mailing list