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 13:40:19 +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 #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-15 13:40:19 UTC ---
Author: jakub
Date: Thu Mar 15 13:40:13 2012
New Revision: 185432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185432
Log:
PR middle-end/52592
* builtins.c (expand_builtin_int_roundingfn_2): If expanding
BUILT_IN_IR{INT,OUND}* using optab fails, emit lr{int,ound}*
calls instead of __builtin_ir{int,ound}*.
* gcc.dg/pr52592.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr52592.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/builtins.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog