[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:22:00 GMT 2012


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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-15 07:10:46 UTC ---
Here is the smallest testcase:
 __attribute__((cold))
int encode_init(double p) {
 return (int)__builtin_round(p);
}
---- CUT ----
I think I have a patch, just testing it a little bit.



More information about the Gcc-bugs mailing list