This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] PR28885 - ICE passing components of array of derived type


:ADDPATCH fortran:

This problem and the fix are described in detail in the Bugzilla entry:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28885

I believe that it is strictly speaking a regression since the original
patch was modified not long after to correctly deal with INTENT(IN/OUT).
However, this corner is so infrequently visited that nobody had tried
multiple calls from the same procedure!

Regtested on Cygwin_NT/PIV - OK for trunk and 4.1?

Paul

2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28885
	* trans-expr.c (gfc_conv_aliased_arg): Ensure that the temp
	declaration is retained for INTENT(OUT) arguments.

2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28885
	* gfortran.dg/aliasing_dummy_2.f90: New test.

 

Attachment: pr28885.diff
Description: pr28885.diff

Attachment: pr28885.msg
Description: pr28885.msg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]