diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 13:45:29 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 13:45:29 +0000 |
commit | b6b93727255b59e19fac1ccee91bb6cd377c21cc (patch) | |
tree | 34f13484cf58f62d24730cc46761b0c4d20b7ad2 /gcc/tree-ssa-ccp.c | |
parent | 8c3216aef96b99f911d02b76caee0faf6e4ba2d6 (diff) | |
download | gcc-b6b93727255b59e19fac1ccee91bb6cd377c21cc.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 559f19b0765..0b990717b33 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -2086,7 +2086,6 @@ fold_stmt (tree *stmt_p) /* 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 (result); STRIP_USELESS_TYPE_CONVERSION (result); if (result != rhs) |