This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Fix bootstrap failure in tree-ssa-ccp:set_rhs
- From: Diego Novillo <dnovillo at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: 20 May 2003 07:59:06 -0400
- Subject: [tree-ssa] Fix bootstrap failure in tree-ssa-ccp:set_rhs
- Organization: Red Hat Canada
A typo in an assignment was causing a stage1 failure because of a
warning.
Diego.
Index: ChangeLog.tree-ssa
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/ChangeLog.tree-ssa,v
retrieving revision 1.1.2.368
diff -d -u -p -r1.1.2.368 ChangeLog.tree-ssa
--- ChangeLog.tree-ssa 19 May 2003 21:37:56 -0000 1.1.2.368
+++ ChangeLog.tree-ssa 20 May 2003 10:48:45 -0000
@@ -1,3 +1,8 @@
+2003-05-20 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-ssa-ccp.c (set_rhs): Fix typo in handling of
+ RETURN_EXPR nodes.
+
2003-05-19 Daniel Berlin <dberlin@dberlin.org>
* tree-alias-common.c (alias_get_name): Handle unnamed variables once
Index: tree-ssa-ccp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-ccp.c,v
retrieving revision 1.1.2.69
diff -d -u -p -r1.1.2.69 tree-ssa-ccp.c
--- tree-ssa-ccp.c 19 May 2003 15:42:56 -0000 1.1.2.69
+++ tree-ssa-ccp.c 20 May 2003 10:48:45 -0000
@@ -1257,7 +1257,7 @@ set_rhs (stmt, expr)
&& TREE_CODE (TREE_OPERAND (stmt, 0)) == MODIFY_EXPR)
TREE_OPERAND (TREE_OPERAND (stmt, 0), 1) = expr;
else
- TREE_OPERAND (stmt, 0) == expr;
+ TREE_OPERAND (stmt, 0) = expr;
}
else if (code == GOTO_EXPR)
GOTO_DESTINATION (stmt) = expr;