This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] DECL_NO_STATIC_CHAIN -> DECL_STATIC_CHAIN
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>, Richard Guenther <rguenther at suse dot de>
- Date: Thu, 24 Sep 2009 15:52:50 +0200
- Subject: Re: [PATCH] DECL_NO_STATIC_CHAIN -> DECL_STATIC_CHAIN
- References: <20090923182949.GS14664@tyan-ft48-01.lab.bos.redhat.com>
> This patch changes it to DECL_STATIC_CHAIN, which defaults to 0 and just
> tree-nested.c sets it on nested functions that need a static chain.
FWIW I think it's an unfortunate change since the default is not safe.
--
Eric Botcazou