------- Comment #2 from falk at debian dot org 2010-05-05 22:46 ------- Confirmed, here is a smaller testcase:
extern inline void add_1(int *dst, const int *src, int n) { if (n) dst[n] = src[n]; } typedef void (*aors_1_t)(int *, const int *, int); aors_1_t fudge(aors_1_t f) { return f; } void check_add_1 (int *dst, const int *src, int n) { fudge(add_1)(dst, src, n); fudge(add_1)(dst, src, n); } -- falk at debian dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Summary|-finline-small-functions |[4.6 Regression] -finline- |related oops |small-functions related oops http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43997