This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR27124 - Incorrect dependency for assignment from function with array section actual arg.
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>
- Date: Wed, 12 Apr 2006 21:54:06 +0200
- Subject: Re: [Patch, fortran] PR27124 - Incorrect dependency for assignment from function with array section actual arg.
- References: <bug-27124-10374@http.gcc.gnu.org/bugzilla/> <20060412150226.12853.qmail@sourceware.org> <443D52D1.8040308@wanadoo.fr>
Please find enclosed a more satisfactory version of the ChangeLog
entries - once again, I have been caught out by the leading-brand messanger.
Paul
2006-04-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/27124
* trans_expr.c (gfc_trans_function_call): Add a new block, post,
in to which all the argument post blocks are put. Add this block
to se->pre after a byref call or to se->post, otherwise.
2006-04-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/27124
* gfortran.dg/array_return_value_1.f90: New test.