Jakub Jelinek writes:
> 2012-10-10 Jakub Jelinek
>
> PR middle-end/54862
> * simplify-rtx.c (simplify_truncation): Compare UINTVAL instead of
> INTVAL of second argument with precision resp. op_precision.
OK. Sorry for the breakage, and thanks for fixing it.
Richard
On Wed, Oct 10, 2012 at 8:39 AM, Jakub Jelinek wrote:
> Hi!
>
> On 32-bit HWI warning there is a warning about signed (INTVAL) vs. unsigned
> ({,op_}precision) comparison (on 64-bit HWI that doesn't trigger, as
> INTVAL is 64-bit signed long, while precision is 32-bit unsigned).
> This patch fixes
Hi!
On 32-bit HWI warning there is a warning about signed (INTVAL) vs. unsigned
({,op_}precision) comparison (on 64-bit HWI that doesn't trigger, as
INTVAL is 64-bit signed long, while precision is 32-bit unsigned).
This patch fixes the warning and makes sure we don't try to optimize
shifts by neg