This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR fortran/26994, transfer with a constant (CONST_DECL) vs the inliner
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