From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28113 invoked by alias); 10 Jun 2011 13:08:45 -0000 Received: (qmail 27995 invoked by uid 22791); 10 Jun 2011 13:08:44 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Jun 2011 13:08:30 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 48B7390847; Fri, 10 Jun 2011 15:08:29 +0200 (CEST) Date: Fri, 10 Jun 2011 13:31:00 -0000 From: Michael Matz To: Jan Hubicka Cc: gcc-patches@gcc.gnu.org Subject: Re: Cgraph alias reorg 2/14 (introduction of alias walkers) In-Reply-To: <20110610001121.GB10734@kam.mff.cuni.cz> Message-ID: References: <20110610001121.GB10734@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 2011-06/txt/msg00836.txt.bz2 Hi, On Fri, 10 Jun 2011, Jan Hubicka wrote: > +static inline struct cgraph_node * > +cgraph_function_or_thunk_node (struct cgraph_node *node, enum availability *availability) > +{ > + if (availability) > + *availability = cgraph_function_body_availability (node); > + return node; > + return NULL; double return. Ciao, Michael.