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]

Re: [tree-ssa] handle CONST_DECL in the gimplifier


On Sun, 11 May 2003 21:40:10 +0200, Pop Sébastian <pop@gauvain.u-strasbg.fr> wrote:

> On Sun, May 11, 2003 at 12:03:15PM -0400, Jason Merrill wrote:
>> A CONST_DECL should be replaced with its DECL_INITIAL.

> Do you mean that this transformation has to be performed by the gimplifier, 
> or should it go before that?  

Both.  I don't see any reason why a CONST_DECL should make it as far as
the gimplifier, but if it does we should deal with it.

> The following solves the bug, however it is not yet bootstrapped.

This is OK, assuming it bootstraps.

Thanks,
Jason


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