]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/34249 (FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 16 Jan 2008 11:10:27 +0000 (12:10 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 16 Jan 2008 11:10:27 +0000 (12:10 +0100)
commita4b6974e6b2a85f7fe9e62e3bce8b6587eaf2a2e
treeeaacc8b781abdc15ec346c4cab998439767ce5a2
parentbe2b548394a3d0998cf7fff5e9d85fcecd22d5f7
re PR debug/34249 (FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE)

PR debug/34249
* debug.h (dwarf2out_switch_text_section): Move declaration from ...
* dwarf2out.c (dwarf2out_switch_text_section): ... here.  Make
function global.
* final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
for DWARF2_UNWIND_INFO targets.

From-SVN: r131570
gcc/ChangeLog
gcc/debug.h
gcc/dwarf2out.c
gcc/final.c