[Bug fortran/53956] [F03] PROCEDURE w/ interface: Bogus "EXTERNAL attribute conflicts with FUNCTION attribute"

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 16 08:46:00 GMT 2012


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

--- Comment #4 from janus at gcc dot gnu.org 2012-07-16 08:45:56 UTC ---
(In reply to comment #3)
> ... and therefore an
> alternative (and probably preferable) patch would be:

The patch in comment #3 generates the correct if_source for "c2", but a wrong
one for "fp": Since it is just copied from "sub" it becomes IFSRC_IFBODY, but
it should be IFSRC_DECL.



More information about the Gcc-bugs mailing list