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

--- Comment #18 from rguenther at suse dot de <rguenther at suse dot de> 
2012-05-04 08:17:57 UTC ---
On Thu, 3 May 2012, andi-gcc at firstfloor dot org wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
> 
> --- Comment #17 from Andi Kleen <andi-gcc at firstfloor dot org> 2012-05-03 
> 14:57:13 UTC ---
> Hmm, my assumption was always that this option would be passed through and 
> then
> used by lto1 step. That's true  for other -f* options at least.

No, we do

  /* The following does what the old LTO option code did,
     union all target and a selected set of common options.  */
  for (i = 0; i < fdecoded_options_count; ++i)
    {
      struct cl_decoded_option *foption = &fdecoded_options[i];
      switch (foption->opt_index)
        {
        default:
          if (!(cl_options[foption->opt_index].flags & CL_TARGET))
            break;

thus only pass through all target options and the explicitely listed
set of common options.

Reply via email to