OSDN Git Service

PR middle-end/44102
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 17:18:24 +0000 (17:18 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 17:18:24 +0000 (17:18 +0000)
commit625a1adcc39420baf5a82973b10d59bb8da125aa
tree853ebe1e37eec54e09a73297268d1cf4b6fd5c1c
parent47aacdf97bc1583cd2c130930e2ab584d8261f27
PR middle-end/44102
* cfgcleanup.c (try_optimize_cfg): When removing trivially empty
bb with no successors, move footer whenever in IR_RTL_CFGLAYOUT
mode, not just when CLEANUP_CFGLAYOUT, and when in IR_RTL_CFGRTL
add BARRIER after previous bb if needed.

* g++.dg/ext/asmgoto1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159495 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/asmgoto1.C [new file with mode: 0644]