------- Comment #5 from rguenth at gcc dot gnu dot org 2006-11-05 16:16 ------- The testcase explicitly calls __builtin_lceil which we then cannot expand at all. We can open-code lceil like I did for SSE expansion using
xi = (long)op1; xi -= (double)xi > op1 ? 1 : 0; which should be always ok as lceil and lfloor are GCC extensions, so we don't need to worry about IEEE or errno setting. I'm going to fix this. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-11-05 16:16:22 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29719