This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41313] g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2009 02:36:30 -0000
- Subject: [Bug c++/41313] g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*
- References: <bug-41313-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from howarth at nitro dot med dot uc dot edu 2009-10-02 02:36 -------
We seemed to have changed the original code from gcc 4.2.1...
/* If user requested unwind info, then turn off the partitioning
optimization. */
if (flag_unwind_tables && ! targetm.unwind_tables_default
&& flag_reorder_blocks_and_partition)
{
inform ("-freorder-blocks-and-partition does not support unwind info");
flag_reorder_blocks_and_partition = 0;
flag_reorder_blocks = 1;
}
in gcc/opts.c to...
/* If the target requested unwind info, then turn off the partitioning
optimization with a different message. Likewise, if the target does not
support named sections. */
if (flag_reorder_blocks_and_partition
&& (!targetm.have_named_sections
|| (flag_unwind_tables && targetm.unwind_tables_default
&& (USING_SJLJ_EXCEPTIONS
#ifdef TARGET_UNWIND_INFO
|| 1
#endif
))))
{
inform (input_location,
"-freorder-blocks-and-partition does not work on this
architecture");
flag_reorder_blocks_and_partition = 0;
flag_reorder_blocks = 1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313