This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples] [patch] fix type of variable and missing space
- From: "Rafael Espindola" <espindola at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Apr 2008 20:16:32 +0100
- Subject: [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. */