------- Comment #6 from hjl at lucon dot org  2007-08-07 14:56 -------
Here is a testcase in C:

bash-3.2$ cat x.c
extern void bar (int *);

void
foo (int *i)
{
  float x;
  int y;

  x = *i;
  y = (int) __builtin_lroundf (x);
  bar (&y);
}
bash-3.2$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O -S x.c -ffast-math
-ftrapping-math
x.c: In function ‘foo’:
x.c:10: 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.
bash-3.2$ 


-- 


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

Reply via email to