2009-10-07 Mark Heffernan <meheff@google.com>

* ipa-prop.c (ipa_print_node_params) Only print
	names of named arguments.

From-SVN: r152561
This commit is contained in:
Mark Heffernan 2009-10-08 15:16:35 +00:00 committed by Mark Heffernan
parent 70277b3073
commit 90e1a34930
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-10-07 Mark Heffernan <meheff@google.com>
* ipa-prop.c (ipa_print_node_params) Only print
names of named arguments.
2009-10-08 Rafael Avila de Espindola <espindola@google.com>
* gcc.c (LINK_COMMAND_SPEC): Pass libc with -pass-through if it is

View File

@ -1398,7 +1398,9 @@ ipa_print_node_params (FILE * f, struct cgraph_node *node)
temp = ipa_get_param (info, i);
if (TREE_CODE (temp) == PARM_DECL)
fprintf (f, " param %d : %s", i,
(*lang_hooks.decl_printable_name) (temp, 2));
(DECL_NAME (temp)
? (*lang_hooks.decl_printable_name) (temp, 2)
: "(unnamed)"));
if (ipa_is_param_modified (info, i))
fprintf (f, " modified");
if (ipa_is_param_called (info, i))