This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2010 22:46:58 -0000
- Subject: [Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops
- References: <bug-43997-11242@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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