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/33007] [4.3 Regression] builtin lround doesn't work



------- Comment #7 from hjl at lucon dot org  2007-08-07 16:24 -------
A more simple testcase also fails on Linux/ia64:

[hjl@gnu-14 lround]$ cat x.c
int
foo (int *i)
{
  float x;
  int y;

  x = *i;
  y = (int) __builtin_lroundf (x);
  return y;
}
[hjl@gnu-14 lround]$ make x.s
/export/build/gnu/gcc/build-ia64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-ia64-linux/gcc/ -O -ffast-math -ftrapping-math -S
x.c
x.c: In function ?foo?:
x.c:8: internal compiler error: in get_callee_fndecl, at tree.c:6521
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [x.s] Error 1
[hjl@gnu-14 lround]$ 


-- 


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


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