This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52592] [4.7/4.8 Regression] compilation failure with undefined reference to `__builtin_iround'


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) { ... }.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]