[Patch, Fortran] attribute declaration outside of INTERFACE body (PR36361)

Janus Weil jaydub66@googlemail.com
Mon Jun 2 19:32:00 GMT 2008


> I leave it to you whether you change this wording.

I did change the wording to your version. Ok like this?


> PS: What is the plan for the next patch? Procedure pointers (part 1) or some
> in-between patch? I believe that
> http://gcc.gnu.org/ml/fortran/2008-05/msg00301.html was almost ready for
> check in; some fixes such as COMMON one could do afterwards. (Though I would
> not be surprised if it turned out to be trivial to support COMMON.)

I will proceed with procedure pointers soon. I just wanted to get rid
of a few PROCEDURE-related bugs first to have a clean foundation for
procptrs.
I think the procptrs patch needs just a bit more polish, then I hope
we can commit it soon.

Cheers,
Janus


2008-06-02  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/36275
	PR fortran/36322
	PR fortran/36361
	* symbol.c (gfc_add_allocatable,gfc_add_dimension,
	gfc_add_explicit_interface): Added checks.
	* decl.c (attr_decl1): Added missing "var_locus".
	* resolve.c (resolve_symbol): Correctly copy the interface for a
	PROCEDURE declaration.
	* parse.c (parse_interface): Checking for errors.


2008-06-02  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/36275
	PR fortran/36322
	PR fortran/36361
	* gfortran.dg/interface_24.f90: New.
	* gfortran.dg/proc_decl_2.f90: Extended.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36361_v3.diff
Type: text/x-patch
Size: 6980 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080602/fa314baf/attachment.bin>


More information about the Gcc-patches mailing list