From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16672 invoked by alias); 6 Oct 2006 12:40:34 -0000 Received: (qmail 16625 invoked by uid 48); 6 Oct 2006 12:40:26 -0000 Date: Fri, 06 Oct 2006 12:40:00 -0000 Message-ID: <20061006124026.16624.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/28205] Request an option to make -finstrument-functions not apply to inlined function calls In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "andreas dot knuepfer at tu-dresden dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00502.txt.bz2 List-Id: ------- Comment #3 from andreas dot knuepfer at tu-dresden dot de 2006-10-06 12:40 ------- Would it be feasible to pass a different function address for inlined functions? In particular, it should not be the same address as the parent function. I seem to recall that in previous versions (2.95.x, 3.x) of GCC __cyg_profile_func_enter() used the call location of an inlined function as first argument. This is somewhere in the middle of the parent function, which makes sense somehow. Any invalid address could be used as well. In the end, the user could be aware of a function being inlined. -- andreas dot knuepfer at tu-dresden dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas dot knuepfer at tu- | |dresden dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28205