--- p/expressions.c.orig Fri Jul 4 18:14:40 2003 +++ p/expressions.c Fri Jul 4 18:17:21 2003 @@ -3589,7 +3589,7 @@ Do not convert between types; just copy the data in memory. */ tree inner_lhs = TREE_OPERAND (lhs, 0); - if (!comptypes (TREE_TYPE (lhs), TREE_TYPE (rhs))) + if (!comptypes (TREE_TYPE (lhs), TREE_TYPE (newrhs))) error ("incompatible types in assignment"); /* For most types, build_type_cast() already has checked that the sizes of the