From 580d124fe0265e81154d5fe07a40279418f048f8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 3 Jul 2004 13:45:29 +0000 Subject: tree-ssa.c (tree_ssa_useless_type_conversion): Also look at VIEW_CONVERT_EXPR and NON_LVALUE_EXPR. * tree-ssa.c (tree_ssa_useless_type_conversion): Also look at VIEW_CONVERT_EXPR and NON_LVALUE_EXPR. * tree-ssa-ccp.c (fold_stmt): Call just STRIP_USELESS_TYPE_CONVERSION. * tree-ssa-dom.c (local_fold): Likewise. From-SVN: r84054 --- gcc/tree-ssa-dom.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/tree-ssa-dom.c') diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 49759978326..b556b4eedf2 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -279,7 +279,6 @@ local_fold (tree t) /* Strip away useless type conversions. Both the NON_LVALUE_EXPR that may have been added by fold, and "useless" type conversions that might now be apparent due to propagation. */ - STRIP_MAIN_TYPE_NOPS (t); STRIP_USELESS_TYPE_CONVERSION (t); return t; -- cgit v1.2.1