https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67028
--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Tue Aug 18 14:27:50 2015 New Revision: 226971 URL: https://gcc.gnu.org/viewcvs?rev=226971&root=gcc&view=rev Log: 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. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr67028.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/combine.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog