This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2009 15:42:57 -0000
- Subject: [Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE
- References: <bug-39247-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from steven at gcc dot gnu dot org 2009-10-19 15:42 -------
You should not depend on NOTE_INSN_SWITCH_TEXT_SECTIONS. There are other ways
to see if a jump goes from one section to another: edge->flags & EDGE_CROSSING
(preferred), and REG_CROSSING_JUMP notes (more reliable in post-pass_free_cfg
world).
There is no hook to disable the hot-cold partitioning pass right now. For thumb
mode, the ARM back end should just set flag_reorder_blocks_and_partition = 0,
like Xtensa and MIPS (for MIPS16 mode) already do, for similar reasons.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39247