http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #4 from Dave Korn <davek at gcc dot gnu.org> 2011-01-10 15:28:51
UTC ---
(In reply to comment #2)
> the optimize attribute isn't used in the preprocessed file but only the
> target attribute which is supported. Thus, "worksforme".
Target attributes must be implying optimisation attributes. Bug depends also
on --with-{arch,tune,fpmath} settings. I'll try and reproduce it on
x86_64-linux, it should be possible if I choose the right settings - will reply
again later.
(In reply to comment #3)
> It would be interesting to know if COFF's lto support has the same issues
> (since they share the same backend design for lto support).
No, it's not related to the backend lto support at all; the sorry comes from
the lto output streamer. It does depend on the backend's attribute handling
though.
(See also PR41201, vaguely related.)