[Bug middle-end/33007] [4.3 Regression] builtin lround doesn't work
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 7 16:24:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list