This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix *DIV_EXPR folding on 32-bit HWI (PR middle-end/46019)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Oct 2010 14:49:25 -0700
- Subject: Re: [PATCH] Fix *DIV_EXPR folding on 32-bit HWI (PR middle-end/46019)
- References: <20101014213717.GB18103@tyan-ft48-01.lab.bos.redhat.com>
On 10/14/2010 02:37 PM, Jakub Jelinek wrote:
> PR middle-end/46019
> * fold-const.c (fold_binary_loc): If integer_pow2p has
> TREE_INT_CST_LOW zero, look at TREE_INT_CST_HIGH.
>
> * gcc.c-torture/execute/pr46019.c: New test.
Ok.
r~