2012-06-09 Siva Chandra Reddy <sivachandra@google.com>

* valarith.c (binop_types_user_defined_p): Fix a typo.
This commit is contained in:
Siva Chandra Reddy 2012-06-09 07:36:43 +00:00
parent d2e1b1b7a8
commit 4e32eda7cb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-06-09 Siva Chandra Reddy <sivachandra@google.com>
* valarith.c (binop_types_user_defined_p): Fix a typo.
2012-06-08 Yao Qi <yao@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>

View File

@ -279,7 +279,7 @@ binop_types_user_defined_p (enum exp_opcode op,
if (TYPE_CODE (type1) == TYPE_CODE_REF)
type1 = check_typedef (TYPE_TARGET_TYPE (type1));
type2 = check_typedef (type1);
type2 = check_typedef (type2);
if (TYPE_CODE (type2) == TYPE_CODE_REF)
type2 = check_typedef (TYPE_TARGET_TYPE (type2));