------- Comment #25 from howarth at nitro dot med dot uc dot edu 2009-10-02 05:34 ------- The following change achieves the same test results as in Comment 24...
--- /Users/howarth/gcc/gcc/opts.c 2009-09-28 19:33:18.000000000 -0400 +++ opts.c 2009-10-02 01:30:48.000000000 -0400 @@ -1038,11 +1038,14 @@ turn off the partitioning optimization. */ if (flag_exceptions && flag_reorder_blocks_and_partition +#if !defined(__MACH__) && (USING_SJLJ_EXCEPTIONS -#ifdef TARGET_UNWIND_INFO +#if defined(TARGET_UNWIND_INFO) || 1 #endif - )) + ) +#endif + ) { inform (input_location, "-freorder-blocks-and-partition does not work with exceptions on this architecture"); @@ -1055,11 +1058,14 @@ if (flag_unwind_tables && ! targetm.unwind_tables_default && flag_reorder_blocks_and_partition +#if !defined(__MACH__) && (USING_SJLJ_EXCEPTIONS -#ifdef TARGET_UNWIND_INFO +#if defined(TARGET_UNWIND_INFO) || 1 #endif - )) + ) +#endif + ) { inform (input_location, "-freorder-blocks-and-partition does not support unwind info on this architecture"); @@ -1074,11 +1080,14 @@ if (flag_reorder_blocks_and_partition && (!targetm.have_named_sections || (flag_unwind_tables && targetm.unwind_tables_default +#if !defined(__MACH__) && (USING_SJLJ_EXCEPTIONS -#ifdef TARGET_UNWIND_INFO +#if defined(TARGET_UNWIND_INFO) || 1 #endif - )))) + ) +#endif + ))) { inform (input_location, "-freorder-blocks-and-partition does not work on this architecture"); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313