Hi!

While working on OpenMP 4.0 atomics support, I've run into this
pasto.  Acked by Jason privately, queued for 4.8.1 and 4.9.

2013-03-15  Jakub Jelinek  <ja...@redhat.com>

        * tree.c (cp_tree_equal): Fix a pasto.

--- gcc/cp/tree.c.jj    2013-03-11 10:04:11.000000000 +0100
+++ gcc/cp/tree.c       2013-03-15 12:18:16.958721269 +0100
@@ -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);
 

        Jakub

Reply via email to