From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16826 invoked by alias); 11 Nov 2008 19:38:17 -0000 Received: (qmail 16776 invoked by uid 22791); 11 Nov 2008 19:38:16 -0000 X-Spam-Check-By: sourceware.org Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Nov 2008 19:37:36 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 61912F01A8; Tue, 11 Nov 2008 20:37:33 +0100 (CET) Date: Tue, 11 Nov 2008 20:23:00 -0000 From: Jan Hubicka To: Rafael Espindola Cc: gcc-patches , Diego Novillo Subject: Re: [lto][patch] Move the call to execute_all_ipa_transforms to cgraphunit.c Message-ID: <20081111193733.GD27401@atrey.karlin.mff.cuni.cz> References: <38a0d8450811110921t4c619461u2f934ddcdc3df5e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38a0d8450811110921t4c619461u2f934ddcdc3df5e@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00472.txt.bz2 Hi, we definitly should have nothrow IPA pass same as we do for const/pure call discovery. However in current implementation pass_set_nothrow_functoin_flags is RTL pass done at late compilation and pass_execute_fixup_cfg exists there precisely to fixup function bodies after this pass being executed on callees (we compile in topological order) and also to cleanup after other passes, such as pure/const discovery that does not update themselves. (today pure/const passes probably could do the job in their transform hooks, but on the other hand it is practical to couple all the cleanup work to single pass) How this picture change in LTO? I would expect that RTL compilation queue is pretty much unchanged. Honza