[Patch, Fortran] ICE with PROCEDURE using a complicated interface (PR36322 & PR36275)

Janus Weil jaydub66@googlemail.com
Tue Jun 3 17:25:00 GMT 2008


Hi all,

here is a new version of my fix for those two bugs, which I have not
committed together with PR36361 yesterday after having some doubts. I
changed the patch again now, so that not just the pointer to "ts" is
copied (which would result in two symbols pointing to the same ts),
but all elements of ts are copied one by one. I'm not sure if the
other method would really cause trouble (at least it passed the
testsuite), but it think this is safer now.

Regtested without any failures. Ok for trunk?

Cheers,
Janus



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

	PR fortran/36322
	PR fortran/36275
	* resolve.c (resolve_symbol): Correctly copy the interface for a
	PROCEDURE declaration.


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

	PR fortran/36322
	PR fortran/36275
	* gfortran.dg/proc_decl_2.f90: Extended.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36322.diff
Type: text/x-patch
Size: 1856 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080603/d55d157f/attachment.bin>


More information about the Fortran mailing list