From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29346 invoked by alias); 7 May 2003 20:46:05 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29292 invoked from network); 7 May 2003 20:45:51 -0000 Received: from unknown (HELO mailout05.sul.t-online.com) (194.25.134.82) by sources.redhat.com with SMTP; 7 May 2003 20:45:50 -0000 Received: from fwd01.sul.t-online.de by mailout05.sul.t-online.com with smtp id 19DVnS-0002Cq-0L; Wed, 07 May 2003 22:45:50 +0200 Received: from kolme (520028553724-0001@[80.138.144.115]) by fmrl01.sul.t-online.com with esmtp id 19DVnM-0v8s7cC; Wed, 7 May 2003 22:45:44 +0200 Received: from goofy.hamnixda.de ([192.168.100.249] helo=goofy) by kolme with esmtp (Exim 3.35 #1 (Debian)) id 19DVnJ-0000Yy-00 for ; Wed, 07 May 2003 22:45:41 +0200 Received: from richard (helo=localhost) by goofy with local-esmtp (Exim 3.36 #1 (Debian)) id 19DVnL-0000S6-00 for ; Wed, 07 May 2003 22:45:43 +0200 Date: Wed, 07 May 2003 20:46:00 -0000 From: Richard Guenther To: gcc@gcc.gnu.org Subject: Another inlining idea Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520028553724-0001@t-dialin.net X-SW-Source: 2003-05/txt/msg00700.txt.bz2 Hi! In order to help the user specify inline decisions, how hard would it be to implement an attribute that forces not inlining of the function itself, but recursively all called functions from within it? F.i. once we start processing the marked function, set a global flag to force all functions inline. I'd suggest __attribute__((force_flat)). Does this sound feasible? Richard.