aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-03-16 20:36:41 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-03-16 20:36:41 +0100
commitb722c9a2a2bb01599706d51554128caa96709a8b (patch)
treee4603fa4da35a39a8a1d76256eccbb0ab48aeb8e /gcc/cp/tree.c
parent87eb16a1bc6cb76e3078d93ba068a35aaa487279 (diff)
downloadgcc-b722c9a2a2bb01599706d51554128caa96709a8b.zip
gcc-b722c9a2a2bb01599706d51554128caa96709a8b.tar.gz
gcc-b722c9a2a2bb01599706d51554128caa96709a8b.tar.bz2
* tree.c (cp_tree_equal): Fix a pasto.
From-SVN: r196705
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 178b80a..1b484b1 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -2486,7 +2486,7 @@ cp_tree_equal (tree t1, tree t2)
t1 = TREE_OPERAND (t1, 0);
for (code2 = TREE_CODE (t2);
CONVERT_EXPR_CODE_P (code2)
- || code1 == NON_LVALUE_EXPR;
+ || code2 == NON_LVALUE_EXPR;
code2 = TREE_CODE (t2))
t2 = TREE_OPERAND (t2, 0);