------- 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

Reply via email to