[Patch, Fortran] specific or generic INTERFACE implies the EXTERNAL attribute (PR36325)

Tobias Burnus tobias.burnus@physik.fu-berlin.de
Wed May 28 21:09:00 GMT 2008


2008/5/28 Janus Weil <janus@gcc.gnu.org>:
> here is the fix for PR36325, regtested on i686-pc-linux-gnu with no
> failures.

Besides PR fortran/36325, this patch also partially fixes PR 35830.
(failing is comment 1).

Can you thus add PR fortran/35830 to the changelog?
And change the PR in proc_decl_12.f90 to 35830.

OK for the trunk.

Tobias

PPS: Can you add a note to PR 35830 that comment #1 still fails?

PS: Can you open a new PR for comment #10 of 36325?
i.e. the following code should be rejected as invalid:

interface
  real function bar()
  end function bar
end interface
dimension :: bar(4) ! <<<< Invalid 



More information about the Fortran mailing list