summaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-16 19:36:41 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-16 19:36:41 +0000
commit2bb79e651f58abb9208f205b364287be601a7dae (patch)
treee4603fa4da35a39a8a1d76256eccbb0ab48aeb8e /gcc/cp/tree.c
parent7c63bd8441d19e69afcd9f7f2725e34bc312e95b (diff)
downloadgcc-2bb79e651f58abb9208f205b364287be601a7dae.tar.gz
* tree.c (cp_tree_equal): Fix a pasto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196705 138bc75d-0d04-0410-961f-82ee72b054a4
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 178b80aa24f..1b484b18cdf 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);