------- Additional Comments From uros at kss-loka dot si 2005-04-14 05:52 ------- Yes, this is duplicate of PR 21004:
20040209-1.c.t02.original: ;; Function foo (foo) ;; enabled by -tree-original { return (int) __builtin_lceilf (x); } These functions (lceil and lfloor) share the same path. I susupect the bug to be in expand_builtin_int_roundingfn(). It looks that tmp = gen_reg_rtx(floatmode); is needed before tmp = expand_builtin_mathfn (exp, NULL_RTX, NULL_RTX); *** This bug has been marked as a duplicate of 21004 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21009