PR/middle-end 14915

PR/middle-end 14915
       * builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not
       BITS_BIG_ENDIAN.

From-SVN: r80732
This commit is contained in:
Kaveh R. Ghazi 2004-04-15 22:35:34 +00:00 committed by Kaveh Ghazi
parent c87fbb0a83
commit df28deda94
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR/middle-end 14915
* builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not
BITS_BIG_ENDIAN.
2004-04-15 Pat Haugen <pthaugen@us.ibm.com>
* ra-debug.c (ra_print_rtx): Add break's to case legs.

View File

@ -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,