Hi,
this patch fixes fallout of my patch to remove DECL_ARGUMENT from
WPA stage.  Fixed thus.

Regtested/bootstrapped x86_64-linux, comitted.

Honza

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 201997)
+++ ChangeLog   (working copy)
@@ -1,5 +1,9 @@
 2013-08-26  Jan Hubicka  <j...@suse.cz>
 
+       * ipa-prop.c (ipa_print_node_params): Do not ICE during WPA.
+
+2013-08-26  Jan Hubicka  <j...@suse.cz>
+
        * ipa-inline-transform.c (inline_transform): Be ready for basic block
        to be changed by edge redirection.
 
Index: ipa-prop.c
===================================================================
--- ipa-prop.c  (revision 201995)
+++ ipa-prop.c  (working copy)
@@ -3041,7 +3041,6 @@ void
 ipa_print_node_params (FILE *f, struct cgraph_node *node)
 {
   int i, count;
-  tree temp;
   struct ipa_node_params *info;
 
   if (!node->symbol.definition)
@@ -3054,12 +3053,7 @@ ipa_print_node_params (FILE *f, struct c
     {
       int c;
 
-      temp = ipa_get_param (info, i);
-      if (TREE_CODE (temp) == PARM_DECL)
-       fprintf (f, "    param %d : %s", i,
-                 (DECL_NAME (temp)
-                  ? (*lang_hooks.decl_printable_name) (temp, 2)
-                  : "(unnamed)"));
+      ipa_dump_param (f, info, i);
       if (ipa_is_param_used (info, i))
        fprintf (f, " used");
       c = ipa_get_controlled_uses (info, i);

Reply via email to