This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52592] [4.7/4.8 Regression] compilation failure with undefined reference to `__builtin_iround'
- 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: Thu, 15 Mar 2012 09:36:02 +0000
- Subject: [Bug middle-end/52592] [4.7/4.8 Regression] compilation failure with undefined reference to `__builtin_iround'
- Auto-submitted: auto-generated
- References: <bug-52592-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52592
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #26897|0 |1
is obsolete| |
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-15 09:36:02 UTC ---
Created attachment 26898
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26898
gcc47-pr52592.patch
Fixed up and simplified patch, untested so far.
I guess expand_builtin_int_roundingfn (for 4.8 only) could be simplified too,
by using mathfn_built_in_1 (, , 0); and dropping the whole if (fallback_fndecl
== NULL_TREE) { ... }.