re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in...
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 8 Aug 2015 01:51:27 +0000 (03:51 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 8 Aug 2015 01:51:27 +0000 (03:51 +0200)
commit1aeec6dc1f26657cc32ed107b3de255566fcca41
treee9ec333a8008794cd08d520fb3cdb36ff0415fbd
parent0fa95f4ead2faf03bde6bb5c458e06f197b34ca2
re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in different places.)

PR rtl-optimization/67028
* combine.c (simplify_comparison): Fix comment.  Rearrange code.
Add test to see if a const_int fits in the new mode.

gcc/testsuite/
PR rtl-optimization/67028
* gcc.dg/pr67028.c: New testcase.

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