This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC/RFA] Const variable initializer folding
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Tue, 31 Aug 2010 16:12:31 -0700
- Subject: Re: [RFC/RFA] Const variable initializer folding
- References: <20100831230839.GI1664@kam.mff.cuni.cz>
On 08/31/2010 04:08 PM, Jan Hubicka wrote:
> There is one failure with the patch, gfortran.dg/cray_pointers_5.f90. It is
> because fortran adds into varpool variable that is !TREE_STATIC &&
> !DECL_EXTERNAL that seems like a bug to me, but I am not familiar enough with
> this area of FE to know what it is supposed to do.
FYI, I debugged this slightly further and the variable in question
is a PARM_DECL. I didn't try to figure out why a PARM_DECL was
showing up on the global variable list.
r~