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



Richard Biener <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

           Keywords|                            |lto

             Target|                            |i?86-*-*

             Status|REOPENED                    |NEW

          Component|lto                         |target

            Summary|target use in libcpp breaks |target attribute use in

                   |LTO bootstrap               |libcpp breaks LTO bootstrap



--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-17 
09:34:14 UTC ---

The attribute handling side is missing from the LTO frontend, but I

wonder why handling the middle-end piece is not enough for it to work ...



The target / optimize attributes seem to be designed in a weird way ...

(ix86_valid_target_attribute_p does work besides checking whether

the attribute is "valid").  I'm sure that's not how it was intended to

work so I am calling this a target bug.  This work should be done

in the ix86_set_current_function hook.

Reply via email to