From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26357 invoked by alias); 5 May 2010 22:47:08 -0000 Received: (qmail 26311 invoked by uid 48); 5 May 2010 22:46:58 -0000 Date: Wed, 05 May 2010 22:47:00 -0000 Message-ID: <20100505224658.26310.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "falk at debian dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00515.txt.bz2 ------- 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