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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 13:41:00 GMT 2012


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-15 13:30:10 UTC ---
Author: jakub
Date: Thu Mar 15 13:30:04 2012
New Revision: 185431

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185431
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:
    trunk/gcc/testsuite/gcc.dg/pr52592.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list