------- Additional Comments From sxanth at ceid dot upatras dot gr 2004-12-13 22:25 ------- This is present in 3.4 too
-------------------------------------------- static inline int foo () { return 100; } typedef int (*fptr)(); static const fptr a [] = { foo }; static inline int call (int i) { return a [i](); } static inline int call2 (fptr f) { return f(); } static const fptr F = foo; int main () { return call (0) + call2 (foo) + F() +foo(); } --------------------------------------------------- Here only F() and foo() are added at compile time but it would be better if gcc just returned 400 w/o any other code. Please fix! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9079 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.