This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR middle-end/11771: Tighten up negate_expr_p
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Date: Mon, 4 Aug 2003 15:50:30 -0700
- Subject: Re: [PATCH] PR middle-end/11771: Tighten up negate_expr_p
- References: <87ispepu34.fsf@student.uni-tuebingen.de> <Pine.LNX.4.44.0308031512560.4595-100000@www.eyesopen.com>
On Sun, Aug 03, 2003 at 03:33:06PM -0600, Roger Sayle wrote:
> PR middle-end/11771
> * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
> logic in negate_expr, i.e. we don't invert (A-B) for floating
> point types unless flag_unsafe_math_optimizations.
>
> * gcc.c-torture/compile/20030803-1.c: New test case.
Ok.
r~