This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36325] specific or generic INTERFACE implies the EXTERNAL attribute
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2008 19:08:36 -0000
- Subject: [Bug fortran/36325] specific or generic INTERFACE implies the EXTERNAL attribute
- References: <bug-36325-14773@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from janus at gcc dot gnu dot org 2008-05-25 19:08 -------
Created an attachment (id=15684)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15684&action=view)
patch
Ok, I extended the patch, and got the regression count down from a few million
to exactly two:
FAIL: gfortran.dg/proc_decl_9.f90
FAIL: gfortran.dg/gomp/reduction3.f90
What I did was e.g. following Tobi's suggestion about the dimension problem:
> conf2(external,dimension)
> is in any case wrong. It should be:
> conflict(external with implicit interface, dimension)
Also I made sure not to interfere with dummy procedures, turned on argument
checking for (explicit-interfaced) external procedures and fixed an error
message for a test case.
I haven't looked at the two remaining regressions in detail, but both seem to
be related to intrinsics. And I'm sure I can convince those two little fuckers
to disappear soon.
Patch is attached.
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36325