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] 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


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