Patchwork Obvious ipa-prop.c related fixes

login
register
mail settings
Submitter Martin Jambor
Date July 22, 2010, 9:42 a.m.
Message ID <20100722094235.GA8513@virgil.arch.suse.de>
Download mbox | patch
Permalink /patch/59556/
State New
Headers show

Comments

Martin Jambor - July 22, 2010, 9:42 a.m.
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  <mjambor@suse.cz>

	* 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.

Patch

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) \