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 tree-optimization/21009] [4.1 Regression] gcc.c-torture/compile/20040209-1.c fails


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


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