]> gcc.gnu.org Git - gcc.git/commitdiff
* tree.c (cp_tree_equal): Fix a pasto.
authorJakub Jelinek <jakub@redhat.com>
Sat, 16 Mar 2013 19:36:41 +0000 (20:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 16 Mar 2013 19:36:41 +0000 (20:36 +0100)
From-SVN: r196705

gcc/cp/ChangeLog
gcc/cp/tree.c

index dc61d9b26b6e36056d3b85e7d876325f6bf4ed33..a80043bb6bfb77abc5b4fe006ca49103ec3a3130 100644 (file)
@@ -1,5 +1,7 @@
 2013-03-16  Jakub Jelinek  <jakub@redhat.com>
 
+       * tree.c (cp_tree_equal): Fix a pasto.
+
        PR c++/56607
        * typeck.c (cp_build_binary_op): When calling warn_for_div_by_zero,
        pass op1 through maybe_constant_value first.
index 178b80aa24fdabed8b47c79ebf0867ad5b6a5413..1b484b18cdf2439d895db2c84b29b147cd2574f7 100644 (file)
@@ -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);
 
This page took 0.061771 seconds and 5 git commands to generate.