From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11002 invoked by alias); 14 Jun 2011 22:39:00 -0000 Received: (qmail 10930 invoked by uid 22791); 14 Jun 2011 22:38:59 -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; Tue, 14 Jun 2011 22:38:43 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 98DD79AC7BF; Wed, 15 Jun 2011 00:38:41 +0200 (CEST) Date: Tue, 14 Jun 2011 22:46:00 -0000 From: Jan Hubicka To: GCC Patches , Jan Hubicka Subject: Re: [PATCH, PR 48613] Don't stream jump functions if there are none Message-ID: <20110614223841.GE11211@kam.mff.cuni.cz> References: <20110614205103.GB30874@virgil.arch.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110614205103.GB30874@virgil.arch.suse.de> 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/msg01120.txt.bz2 > Hi, > > the patch below fixes PR 48613 which is an ICE with -O0 > -findirect-inlining. Rather than adding "&& optimize" here and there, > at this place we can easily see whether there is something to do or > not by testing ipa_node_params_vector for NULL. And the > flag-triggering combinations can -and are - dealt elsewhere. > > Bootstrapped and tested on trunk on x86_64-linux. OK for trunk and > subsequently for the 4.6 branch too? > > Thanks, > > Martin > > 2011-06-13 Martin Jambor > > PR tree-optimization/48613 > * ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if > ipa_node_params_vector is NULL. OK, thanks! Honza