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: Roger Sayle <roger at eyesopen dot com>
- To: Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org, <akpm at osdl dot org>
- Date: Tue, 10 Feb 2004 04:48:19 -0700 (MST)
- Subject: Re: [PATCH] Fix PR c/14092
On Tue, 10 Feb 2004, Bonzini wrote:
> 2004-02-10 Paolo Bonzini <bonzini@gnu.org>
>
> PR c/14092
> * fold-const.c (fold) (NEGATE_EXPR): Convert result of
> negate_expr back to the original type.
In the ChangeLog entry, use parentheses around function names, and
angle brackets around parts of a function, such as case elements.
i.e. it needs to read "<NEGATE_EXPR>". Ok for mainline with that
minor change.
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?
Many thanks.
Roger
--