diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dfbfe95554..417ba205198 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-04-15 Kaveh R. Ghazi + + PR/middle-end 14915 + * builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not + BITS_BIG_ENDIAN. + 2004-04-15 Pat Haugen * ra-debug.c (ra_print_rtx): Add break's to case legs. diff --git a/gcc/builtins.c b/gcc/builtins.c index d653ec75f1a..a87d79291b6 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5044,7 +5044,7 @@ expand_builtin_signbit (tree exp, rtx target) if (GET_MODE_BITSIZE (imode) > GET_MODE_BITSIZE (rmode)) { - if (BITS_BIG_ENDIAN) + if (BYTES_BIG_ENDIAN) bitpos = GET_MODE_BITSIZE (imode) - 1 - bitpos; temp = copy_to_mode_reg (imode, temp); temp = extract_bit_field (temp, 1, bitpos, 1,