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: [lto] gc fixes


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


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