mirror of git://gcc.gnu.org/git/gcc.git
parent
87eb16a1bc
commit
b722c9a2a2
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue