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: "pinskia 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 07:10:46 +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
--- 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.