This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Negation related constant folding improvements
On Tue, Aug 12, 2003 at 06:24:54PM -0600, Roger Sayle wrote:
> It looks like the only place that we specially handle c4x's two's
> complement format is in encode_c4x_{single,double} where it looks
> as though we silently misencode the sign-dependent overflow.
Entirely likely, sadly.
> I'm quite happy to work to fix this (with help), but the hunk of my
> patch that you quote above can't change GCC's current behaviour.
I'm happy continuing to check TREE_OVERFLOW, even if this
bit is wrongly never set at present.
r~