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

--- 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


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