On Fri, Jun 10, 2016 at 5:12 PM, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > On Fri, Jun 10, 2016 at 01:14:16PM -0600, Jeff Law wrote: >> The change itself is fine, and it's approved with a testcase or at least >> an explanation of why you can't turn either of the tests from the BZ >> into a testcase in our framework. > > This is what I committed: > > > 2016-06-11 Segher Boessenkool <seg...@kernel.crashing.org> > > PR middle-end/71310 > * fold-const.c (optimize_bit_field_compare): Don't try to use > word_mode unconditionally for reading the bit field, look at > DECL_BIT_FIELD_REPRESENTATIVE instead. > > gcc/testsuite/ > PR middle-end/71310 > * gcc.target/powerpc/pr71310.c: New testcase. > >
It caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71510 -- H.J.