+2006-08-28 Kazu Hirata <kazu@codesourcery.com>
+
+ PR middle-end/26632
+ * convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on
+ an implicit conversion.
+
2006-08-28 Prafulla Thakare <prafullat@kpitcummins.com>
* config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
else if (outprec >= inprec)
{
enum tree_code code;
+ tree tem;
/* If the precision of the EXPR's type is K bits and the
destination mode has more bits, and the sign is changing,
else
code = NOP_EXPR;
- return fold_build1 (code, type, expr);
+ tem = fold_unary (code, type, expr);
+ if (tem)
+ return tem;
+
+ tem = build1 (code, type, expr);
+ TREE_NO_WARNING (tem) = 1;
+ return tem;
}
/* If TYPE is an enumeral type or a type with a precision less