r195648 - in /branches/gcc-4_7-branch/gcc: Chan...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Feb 1 13:57:00 GMT 2013
Author: jakub
Date: Fri Feb 1 13:57:46 2013
New Revision: 195648
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195648
Log:
Backported from mainline
2012-11-13 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/54127
* cfgrtl.c (force_nonfallthru_and_redirect): When redirecting
asm goto labels from BB_HEAD (e->dest) to target bb, decrement
LABEL_NUSES of BB_HEAD (e->dest) and increment LABEL_NUSES of
BB_HEAD (target) appropriately and adjust JUMP_LABEL and/or
REG_LABEL_TARGET and REG_LABEL_OPERAND.
* gcc.dg/torture/pr54127.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr54127.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/cfgrtl.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list