This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for PR4483, constant overflow on PowerPC
- From: Richard Henderson <rth at redhat dot com>
- To: Corey Minyard <minyard at acm dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 12 Dec 2001 17:23:08 -0800
- Subject: Re: Fix for PR4483, constant overflow on PowerPC
- References: <3C163979.6080403@acm.org>
On Tue, Dec 11, 2001 at 10:51:05AM -0600, Corey Minyard wrote:
> * recog.c (validate_replace_rtx_1): Replace
> plus_constant() with simplify_gen_binary() because
> first operand can be a constant in this case.
>
> * simplify-rtx.c: Added neg_const_int() to safely negate
> a constant in a specific mode, and modified all negations
> in this file to use it properly.
Applied.
r~