re PR rtl-optimization/57451 (Incorrect debug ranges emitted for -freorder-blocks...
authorTeresa Johnson <tejohnson@google.com>
Tue, 20 Aug 2013 13:29:53 +0000 (13:29 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Tue, 20 Aug 2013 13:29:53 +0000 (13:29 +0000)
commit67598720afc44795500b02e86dfcdd982b9669d4
treed7ed91c64916897863742efb289c1ae31a67af93
parentc5918c2199ee193f86cfafb9ad9fb040d7a60a14
re PR rtl-optimization/57451 (Incorrect debug ranges emitted for -freorder-blocks-and-partition -g)

2013-08-20  Teresa Johnson  <tejohnson@google.com>

PR rtl-optimizations/57451
* final.c (reemit_insn_block_notes): Prevent lexical blocks
from crossing split section boundaries.

* testsuite/g++.dg/tree-prof/pr57451.C: New test.

From-SVN: r201883
gcc/ChangeLog
gcc/final.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-prof/pr57451.C [new file with mode: 0644]