This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c/14092
- From: Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: roger at eyesopen dot com
- Date: Tue, 10 Feb 2004 09:25:37 -0500
- Subject: Re: [PATCH] Fix PR c/14092
> I suspect a similar fix, calling "convert" instead of "fold_convert"
> may also be needed on the 3.4 branch. Could you also prepare and
> regression test a patch for there as well?
No, the bug there is latent. I suspect that this patch made it emerge:
2004-02-07 Roger Sayle <roger@eyesopen.com>
* fold-const.c (negate_expr_p, negate_expr): Optimize -(A+B) into
either (-A)-B or (-B)-A, if A or B is easily negated respectively.
I'd rather not play with 3.4 even if the patch should be pretty safe. I'm
still in a phase where confirming the checking makes me tachicardic. :-)
Paolo