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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 07:47:00 GMT 2012


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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-15 07:25:21 UTC ---
Created attachment 26897
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26897
Patch which fixes the problem

I don't have enough time to regress test this patch though.
But here is the ChangeLog for it:
* builtins.c (expand_builtin_int_roundingfn_2): If the expanding of iround
optab fails, then expand using lround call.



More information about the Gcc-bugs mailing list