This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]