http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49069
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:14:19 UTC --- Author: jakub Date: Fri Feb 1 14:14:11 2013 New Revision: 195661 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195661 Log: Backported from mainline 2013-01-23 Jakub Jelinek <ja...@redhat.com> PR target/49069 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand instead of cmpdi_operand for first comparison operand. Don't assert that comparison operands aren't both constants. * gcc.dg/pr49069.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr49069.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config/arm/arm.md branches/gcc-4_7-branch/gcc/testsuite/ChangeLog