This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/53956] [F03] PROCEDURE w/ interface: Bogus "EXTERNAL attribute conflicts with FUNCTION attribute"
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Jul 2012 08:45:56 +0000
- Subject: [Bug fortran/53956] [F03] PROCEDURE w/ interface: Bogus "EXTERNAL attribute conflicts with FUNCTION attribute"
- Auto-submitted: auto-generated
- References: <bug-53956-4@http.gcc.gnu.org/bugzilla/>
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.