re PR rtl-optimization/31391 (undefined label with -O -g due to cfglayout)
authorSteven Bosscher <steven@gcc.gnu.org>
Sun, 1 Apr 2007 18:26:00 +0000 (18:26 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sun, 1 Apr 2007 18:26:00 +0000 (18:26 +0000)
commit5b52976bb8586161e10f6544b69e6fa236aaa829
tree25e1523fe427b1555d249aa5184ca9317aea6ae2
parentaf33044f0598837e9dc2d584bb350ee2a5af156c
re PR rtl-optimization/31391 (undefined label with -O -g due to cfglayout)

PR rtl-optimization/31391
* cfgcleanup.c (try_optimize_cfg): If a removed label is turned
into a DELETED_LABEL note, and the label is in an empty basic
block, update BB_END as well as BB_HEAD.

From-SVN: r123406
gcc/ChangeLog
gcc/cfgcleanup.c