From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12839 invoked by alias); 10 Jun 2011 19:15:21 -0000 Received: (qmail 12831 invoked by uid 22791); 10 Jun 2011 19:15:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Jun 2011 19:15:01 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id B74899AC86C; Fri, 10 Jun 2011 21:15:00 +0200 (CEST) Date: Fri, 10 Jun 2011 20:59:00 -0000 From: Jan Hubicka To: Richard Guenther Cc: Jan Hubicka , gcc-patches@gcc.gnu.org Subject: Re: Cgraph alias reorg 13/14 (disable inlining functions called once at -O0 Message-ID: <20110610191500.GA14895@kam.mff.cuni.cz> References: <20110610184247.GA3252@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2011-06/txt/msg00883.txt.bz2 > On Fri, Jun 10, 2011 at 8:42 PM, Jan Hubicka wrote: > > Hi, > > by some mistake we enable functions called once at -O0 and it actually happens from > > time to time. > > Why do it for -O1? It definitely makes debugging less reliable. I'd say do it > for -O[23s] only. Well, that is what we did before. I tought -O1 is mostly for optimizations that are not too expensive and usually win (rahter than about debugability of the output) and I think this one counts here. But I don't have very strong optinions either way. Honza