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 Bugs, which is subscribed to 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 " To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/876460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs