From patchwork Thu Jul 22 09:42:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 59556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id D6624B70D6 for ; Thu, 22 Jul 2010 19:42:51 +1000 (EST) Received: (qmail 21342 invoked by alias); 22 Jul 2010 09:42:46 -0000 Received: (qmail 21312 invoked by uid 22791); 22 Jul 2010 09:42:44 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jul 2010 09:42:39 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id D24265FC9F for ; Thu, 22 Jul 2010 11:42:36 +0200 (CEST) Date: Thu, 22 Jul 2010 11:42:35 +0200 From: Martin Jambor To: GCC Patches Subject: [PATCH] Obvious ipa-prop.c related fixes Message-ID: <20100722094235.GA8513@virgil.arch.suse.de> Mail-Followup-To: GCC Patches MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, I have already posted a patch with some ipa-prop.c comment fixes and I am now actually going to commit it. I have also realized that ipa-prop.o Makefile entry has a dependency on a file which does not exist (and which I had in my tree before trunk had gimple-fold.c). I am about to commit the below as obvious, I have bootstrapped and tested it along the frequency update patch. Thanks, Martin 2010-07-22 Martin Jambor * ipa-prop.h (struct ipa_node_params): Updated comment. (struct ipa_edge_args): Likewise. * Makefile.in (ipa-prop.o): Remove bogus $(GIMPLE_FOLD_H) dependency. Index: gcc/ipa-prop.h =================================================================== --- gcc/ipa-prop.h (revision 162406) +++ gcc/ipa-prop.h (working copy) @@ -170,9 +170,8 @@ struct ipa_param_descriptor parameters (such as ipa-cp). */ struct ipa_node_params { - /* Number of formal parameters of this function. When set to 0, - this function's parameters would not be analyzed by the different - stages of IPA CP. */ + /* Number of formal parameters of this function. When set to 0, this + function's parameters would not be analyzed by IPA CP. */ int param_count; /* Whether this function is called with variable number of actual arguments. */ @@ -251,9 +250,8 @@ ipa_is_called_with_var_arguments (struct -/* ipa_edge_args stores information related to a callsite and particularly - its arguments. It is pointed to by a field in the - callsite's corresponding cgraph_edge. */ +/* ipa_edge_args stores information related to a callsite and particularly its + arguments. It can be accessed by the IPA_EDGE_REF macro. */ typedef struct GTY(()) ipa_edge_args { /* Number of actual arguments in this callsite. When set to 0, Index: gcc/Makefile.in =================================================================== --- gcc/Makefile.in (revision 162406) +++ gcc/Makefile.in (working copy) @@ -3003,7 +3003,7 @@ ipa.o : ipa.c $(CONFIG_H) $(SYSTEM_H) co ipa-prop.o : ipa-prop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(IPA_PROP_H) $(DIAGNOSTIC_H) \ $(TREE_FLOW_H) $(TM_H) $(TREE_PASS_H) $(FLAGS_H) $(TREE_H) \ - $(TREE_INLINE_H) $(GIMPLE_H) $(GIMPLE_FOLD_H) $(TIMEVAR_H) \ + $(TREE_INLINE_H) $(GIMPLE_H) $(TIMEVAR_H) \ tree-pretty-print.h gimple-pretty-print.h $(LTO_STREAMER_H) ipa-ref.o : ipa-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(TREE_H) $(TARGET_H) \