rtlanal: Fix bits/bytes confusion in set_noop_p (PR68814)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 10 Dec 2015 23:47:31 +0000 (00:47 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 10 Dec 2015 23:47:31 +0000 (00:47 +0100)
commit0c91a1fb3c6bf27bd513d6a160bdce14a7070a60
treecdfb92915fbfdba1b278b16908e00337a081c950
parente74f7152e87f9c7b66c3af0e58b70fcd6f9cb042
rtlanal: Fix bits/bytes confusion in set_noop_p (PR68814)

The meaning of ZERO_EXTRACT depends on BITS_BIG_ENDIAN, not on
BYTES_BIG_ENDIAN.  This caused PR68814.

2015-12-11  Segher Boessenkool  <segher@kernel.crashing.org>

PR rtl-optimization/68814
* rtlanal.c (set_noop_p): Use BITS_BIG_ENDIAN instead of
BYTES_BIG_ENDIAN.

From-SVN: r231547
gcc/ChangeLog
gcc/rtlanal.c