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: [patch] fold-const.c: Bring fold_negate_const() from tree-ssa.


In message <20040319.123007.35449665.kazu@cs.umass.edu>, Kazu Hirata writes:
 >Hi,
 >
 >Attached is a patch to bring fold_negate_const() from tree-ssa.
 >
 >Diego said on IRC this kind of partial merge from tree-ssa to mainline
 >was OK as far as he was concerned.  The motivation here is to minimize
 >the divergence between mainline and tree-ssa before I clean up some
 >bits of fold-const.c.
 >
 >Bootstrapped on i686-pc-linux-gnu.  OK to apply?
 >
 >p.s.
 >If this is OK, I am planning to bring three more functions (and its
 >children) one by one, namely
 >
 >  fold_abs_const(),
 >  fold_relational_const(), and
 >  fold_relational_hi_lo().
I would strongly recommand against fold_relational_hi_lo.  It's got some
subtle problems.

I would also suggest you speak with Richard Henderson who was starting to
work through the redesign of our folders.  

jeff




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