[PATCH] Fix PR fortran/26994, transfer with a constant (CONST_DECL) vs the inliner

Andrew Pinski pinskia@gmail.com
Mon Nov 13 15:37:00 GMT 2006


On Mon, 2006-11-13 at 07:11 +0100, FX Coudert wrote:
> > ChangeLog:
> >
> > 	* trans-expr.c (gfc_conv_expr_reference): Set TREE_STATIC on the
> > 	new CONST_DECL.
> >
> > 	* gfortran.fortran-torture/compile/transfer-1.f90: New testcase.
> 
> OK for mainline. If I understand the PR trail correctly, the same  
> patch should also be applied to 4.2 and 4.1, shouldn't it?

Yes, I am going to test it for the 4.2 branch and then apply it there.
Assuming that is ok with you.

Thanks,
Andrew Pinski



More information about the Fortran mailing list