This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159289 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 11 May 2010 18:22:54 -0000
- Subject: r159289 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jakub
Date: Tue May 11 18:22:52 2010
New Revision: 159289
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159289
Log:
PR middle-end/44071
* cfglayout.c (fixup_reorder_chain): Allow asm goto to have
no fallthru edge.
* cfgcleanup.c (try_optimize_cfg): When in cfglayout mode
optimizing away empty bb with no successors, move over its
footer chain to fallthru predecessor.
* cfgrtl.c (patch_jump_insn): Update also REG_LABEL_OPERAND.
(rtl_split_edge): For asm goto call patch_jump_insn even if
splitting fallthru edge.
* c-c++-common/asmgoto-4.c: New test.
* gcc.target/i386/pr44071.c: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/c-c++-common/asmgoto-4.c
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/pr44071.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cfgcleanup.c
branches/gcc-4_5-branch/gcc/cfglayout.c
branches/gcc-4_5-branch/gcc/cfgrtl.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog