This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45475] target attribute use in libcpp breaks LTO bootstrap
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Oct 2012 09:34:14 +0000
- Subject: [Bug target/45475] target attribute use in libcpp breaks LTO bootstrap
- Auto-submitted: auto-generated
- References: <bug-45475-4@http.gcc.gnu.org/bugzilla/>
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.