This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] gc fixes
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Nov 2007 11:48:41 -0700
- Subject: Re: [lto] gc fixes
- References: <20071030192515.GA31567@codesourcery.com> <m3odee52a4.fsf@fleche.redhat.com> <20071101183310.GM31567@codesourcery.com>
On 11/1/07, Nathan Froyd <froydnj@codesourcery.com> wrote:
> No, the problem is that were were asking for the TREE_CHAIN of something
> that wasn't a tree and the checking code raised errors. The fix was
> taken from cp/cp-tree.h, which was changed earlier this year to look
> like:
Oh yes I did this for PHI_NODE memory reduction :).
GIMPLE_STMT_P is not true for SSA_NAME so we would have a TREE_CHAIN
of a PHI_NODE which is invalid.
-- Pinski