This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54988] fpmath=sse target pragma causes inlining failure because of target specific option mismatch
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Oct 2012 10:54:25 +0000
- Subject: [Bug c++/54988] fpmath=sse target pragma causes inlining failure because of target specific option mismatch
- Auto-submitted: auto-generated
- References: <bug-54988-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54988
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-22 10:54:25 UTC ---
Created attachment 28504
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28504
gcc48-pr54988.patch
Untested fix. Apparently the C++ FE assumes that if attributes is NULL,
decl_attributes does nothing, which isn't true for FUNCTION_DECLs.