This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33007] [4.3 Regression] builtin lround doesn't work
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2007 16:24:42 -0000
- Subject: [Bug middle-end/33007] [4.3 Regression] builtin lround doesn't work
- References: <bug-33007-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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