public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, committed] Fix typos in ipa-prop.c
@ 2011-09-22 21:07 Maxim Kuvyrkov
  0 siblings, 0 replies; only message in thread
From: Maxim Kuvyrkov @ 2011-09-22 21:07 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

I've committed the following trivial patch to fix typos in ipa-prop.c dump/debug print function.

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics



[-- Attachment #2: fsf-gcc-fixes-1.patch --]
[-- Type: application/octet-stream, Size: 1026 bytes --]

commit 1214aa0a24ee0359548f93f94e22455b8b5e56cf
Author: Maxim Kuvyrkov <maxim@codesourcery.com>
Date:   Wed Dec 29 10:37:03 2010 -0800

    Bug fixes 1

diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 066bbdb..d4d8879 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -199,9 +199,9 @@ ipa_print_node_jump_functions_for_edge (FILE *f, struct cgraph_edge *cs)
 		   tree_code_name[(int)
 				  jump_func->value.pass_through.operation]);
 	  if (jump_func->value.pass_through.operation != NOP_EXPR)
-	    print_generic_expr (dump_file,
+	    print_generic_expr (f,
 				jump_func->value.pass_through.operand, 0);
-	  fprintf (dump_file, "\n");
+	  fprintf (f, "\n");
 	}
       else if (type == IPA_JF_ANCESTOR)
 	{
@@ -210,7 +210,7 @@ ipa_print_node_jump_functions_for_edge (FILE *f, struct cgraph_edge *cs)
 		   jump_func->value.ancestor.formal_id,
 		   jump_func->value.ancestor.offset);
 	  print_generic_expr (f, jump_func->value.ancestor.type, 0);
-	  fprintf (dump_file, "\n");
+	  fprintf (f, "\n");
 	}
     }
 }

[-- Attachment #3: fsf-gcc-fixes-1.ChangeLog --]
[-- Type: application/octet-stream, Size: 112 bytes --]

2011-09-22  Maxim Kuvyrkov  <maxim@codesourcery.com>

	* ipa-prop.c (ipa_print_node_jump_functions): Fix typos.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-22 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 21:07 [PATCH, committed] Fix typos in ipa-prop.c Maxim Kuvyrkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).