http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45902

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-08 
09:44:04 UTC ---
+          if (CONVERT_EXPR_CODE_P (rhs_code)
+              && TREE_TYPE (lhs) != TREE_TYPE (first_stmt_lhs))

checking types_compatible_p (TREE_TYPE (lhs), TREE_TYPE (first_stmt_lhs))
should work.  If for some reason it doesn't please use at least
TYPE_MAIN_VARIANT (TREE_TYPE (...

Reply via email to