From a69e1f6afc37b9203a538f94c89df4efb416847b Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 2 May 1995 21:54:39 +0000 Subject: [PATCH] small tweak From-SVN: r9566 --- gcc/fold-const.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/fold-const.c b/gcc/fold-const.c index dd0f8a2b75d2..7c137ec39a76 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -5044,8 +5044,8 @@ fold (expr) /* Pull arithmetic ops out of the CLEANUP_POINT_EXPR where appropriate. */ case CLEANUP_POINT_EXPR: - if (! TREE_SIDE_EFFECTS (arg0) && type == TREE_TYPE (arg0)) - return arg0; + if (! TREE_SIDE_EFFECTS (arg0)) + return convert (type, arg0); { enum tree_code code0 = TREE_CODE (arg0); -- 2.47.2