This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tuples] [patch] fix type of variable and missing space


This patch fixes two small mistakes. Committed as obvious.

	* gimple-pretty-print.c (dump_gimple_return): Add missing space.
	* tree-ssa-threadedge.c (simplify_control_stmt_condition): Fix type
	of variable.

Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047
Index: gcc/gimple-pretty-print.c
===================================================================
--- gcc/gimple-pretty-print.c	(revision 134803)
+++ gcc/gimple-pretty-print.c	(revision 134804)
@@ -362,7 +362,7 @@
     dump_gimple_fmt (buffer, spc, flags, "%G <%T>", gs, t);
   else
     {
-      pp_string (buffer, "return");
+      pp_string (buffer, "return ");
       if (t)
         dump_generic_node (buffer, t, spc, flags, false);
       pp_semicolon (buffer);
Index: gcc/ChangeLog.tuples
===================================================================
--- gcc/ChangeLog.tuples	(revision 134803)
+++ gcc/ChangeLog.tuples	(revision 134804)
@@ -1,5 +1,11 @@
 2008-04-29  Rafael Espindola <espindola@google.com>
 
+	* gimple-pretty-print.c (dump_gimple_return): Add missing space.
+	* tree-ssa-threadedge.c (simplify_control_stmt_condition): Fix type
+	of variable.
+
+2008-04-29  Rafael Espindola <espindola@google.com>
+
 	* gimple-pretty-print.c (pp_cfg_jump): add missing ";".
 
 2008-04-29  Rafael Espindola <espindola@google.com>
Index: gcc/tree-ssa-threadedge.c
===================================================================
--- gcc/tree-ssa-threadedge.c	(revision 134803)
+++ gcc/tree-ssa-threadedge.c	(revision 134804)
@@ -396,7 +396,7 @@
 				 bool handle_dominating_asserts)
 {
   tree cond, cached_lhs;
-  enum tree_code code = gimple_code (stmt);
+  enum gimple_code code = gimple_code (stmt);
 
   /* For comparisons, we have to update both operands, then try
      to simplify the comparison.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]