trans-common.c emits several gfc_error()s these should all be handled by the resolution stage, AFAICS. [tobi@marktplatz fortran]$ grep -n gfc_error trans-common.c 460: gfc_error ("bad array reference at %L", &s->where); 468: gfc_error ("illegal reference type at %L as EQUIVALENCE object", 512: gfc_error ("inconsistent equivalence rules involving '%s' at %L and " 625: gfc_error ("the equivalence set for '%s' cause an invalid extension "
(In reply to comment #0) > [tobi@marktplatz fortran]$ grep -n gfc_error trans-common.c > 460: gfc_error ("bad array reference at %L", &s->where); > 468: gfc_error ("illegal reference type at %L as EQUIVALENCE object", > 512: gfc_error ("inconsistent equivalence rules involving '%s' at %L and " > 625: gfc_error ("the equivalence set for '%s' cause an invalid extension " the first two should be internal_errors. It remain the latter two.
Confirmed.
I don't think this is important enough to waste any time on it, also Paul Brook has added a few more in the meantime, so this is not our maintainers' policy :-)