This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] PR33733 - ICEs in simplify_transfer


:ADDPATCH fortran:

These ICEs came about because gfc_simplify_transfer was trying to
process the source expression for functions of arrays before they
themselves were simplified.  The fix corrects this  by returning null
until the argument is simplified and is no longer EXPR_FUNCTION.

Bootstrapped and regtested on x86_ia64/fc5 - OK for trunk?

Cheers

Paul

2007-10-12  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/33733
	* simplify.c (gfc_simplify_transfer): Return null if the source
	expression is EXPR_FUNCTION.

2007-10-12  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/33733
	* gfortran.dg/transfer_simplify_6.f90: New test.



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy

Attachment: submit.diff
Description: Binary data


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