[Bug fortran/36325] specific or generic INTERFACE implies the EXTERNAL attribute

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 25 19:09:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list