[Bug 876460] [NEW] gcc reports: "internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2309 "
Zinovy Nis
876460 at bugs.launchpad.net
Mon Oct 17 12:31:20 UTC 2011
Public bug reported:
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);
}
------------------------------------------------------------------------------
** Affects: gcc-4.5 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/876460
Title:
gcc reports: "internal compiler error: in
fold_convert_const_int_from_real, at fold-const.c:2309 "
Status in “gcc-4.5” package in Ubuntu:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/876460/+subscriptions
More information about the foundations-bugs
mailing list