Message ID | 4E0E060F.2030103@codesourcery.com |
---|---|
State | New |
Headers | show |
On 07/01/2011 10:38 AM, Bernd Schmidt wrote: > * rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against > a bitsize. Ok. r~
Index: baseline-trunk/gcc/rtlanal.c =================================================================== --- baseline-trunk.orig/gcc/rtlanal.c +++ baseline-trunk/gcc/rtlanal.c @@ -3993,7 +3993,7 @@ nonzero_bits1 (const_rtx x, enum machine nonzero = 1; #endif - if (GET_MODE_SIZE (GET_MODE (x)) < mode_width) + if (GET_MODE_PRECISION (GET_MODE (x)) < mode_width) nonzero |= (GET_MODE_MASK (mode) & ~GET_MODE_MASK (GET_MODE (x))); break;