http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916

--- Comment #66 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-15 15:17:29 
UTC ---
(In reply to comment #64)
Thanks Jack, I'll take a look at this info, if necessary. 

a couple of points;

this below has subsequently been replaced with an #undef of the target hook in
config/darwin10.h

> -  if (! for_eh)
> +  /* Suppress unwind labels when targeting 10.6 or later.  */ 
> +  if ((! for_eh) || (darwin_macosx_version_min &&
> strverscmp(darwin_macosx_version_min, "10.6") >= 0))
>      return;

this below is no longer properly functional with the new arrangement of options
processing.
(the test is now done in opts.c - if you leave this in you get a false warning
when -fno-exceptions is given on a g++ command line)

> +  /* Disable -freorder-blocks-and-partition for exception handling or when
> +     the target requested unwind info.  */
> +  if (flag_reorder_blocks_and_partition && (flag_exceptions ||
> flag_unwind_tables))
> +    {
> +      inform (input_location,
> +              "-freorder-blocks-and-partition does not work with exceptions 
> on
> this architecture");
> +      flag_reorder_blocks_and_partition = 0;
> +      flag_reorder_blocks = 1;
> +    }

Reply via email to