------- Comment #6 from hjl at gcc dot gnu dot org 2010-07-10 15:35 ------- Subject: Bug 44659
Author: hjl Date: Sat Jul 10 15:35:04 2010 New Revision: 162040 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162040 Log: Fix combine to match QI cmp patterns with upper 8bit register. gcc/ 2010-07-09 H.J. Lu <hongjiu...@intel.com> Backport from mainline 2010-06-29 Eric Botcazou <ebotca...@adacore.com> PR rtl-optimization/44659 * combine.c (make_compound_operation) <SUBREG>: Do not return the result of force_to_mode if it partially re-expanded the compound. gcc/testsuite/ 2010-07-09 H.J. Lu <hongjiu...@intel.com> Backport from mainline 2010-06-29 H.J. Lu <hongjiu...@intel.com> PR rtl-optimization/44659 * gcc.target/i386/extract-1.c: New. * gcc.target/i386/extract-2.c: Likewise. * gcc.target/i386/extract-3.c: Likewise. * gcc.target/i386/extract-4.c: Likewise. * gcc.target/i386/extract-5.c: Likewise. * gcc.target/i386/extract-6.c: Likewise. Added: branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-1.c branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-2.c branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-3.c branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-4.c branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-5.c branches/ix86/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/extract-6.c Modified: branches/ix86/gcc-4_5-branch/gcc/ChangeLog.ix86 branches/ix86/gcc-4_5-branch/gcc/combine.c branches/ix86/gcc-4_5-branch/gcc/testsuite/ChangeLog.ix86 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44659