gcc reports: "internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2309 "
Bug #876460 reported by
Zinovy Nis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Command line:
gcc -lm -O3 test.c
Source (test.c):
-------
#include <stdio.h>
#include <math.h>
int test(float (*func(float)))
{
return func(1.23456f);
}
int main()
{
return test(sin) + test(cos);
}
-------
To post a comment you must log in.