re PR rtl-optimization/49799 (gcc arm generates illegal sbfx instruction)
authorWei Guozhi <carrot@google.com>
Fri, 29 Jul 2011 01:27:29 +0000 (01:27 +0000)
committerWei Guozhi <carrot@gcc.gnu.org>
Fri, 29 Jul 2011 01:27:29 +0000 (01:27 +0000)
commit154516d9d2011112deeb5becd98819d63397b2b1
tree04bc619662014eaed8079e64815b5d6ac56e7ce9
parent4bd1d898d253cbe668033d3ae85e203b090ba05c
re PR rtl-optimization/49799 (gcc arm generates illegal sbfx instruction)

PR rtl-optimization/49799

* combine.c (make_compound_operation): Check if the bit field is valid
before change it to bit field extraction.

* gcc.dg/pr49799.c: New test case.

From-SVN: r176911
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49799.c [new file with mode: 0644]