From: Mike Stump Date: Tue, 2 May 1995 21:54:39 +0000 (+0000) Subject: small tweak X-Git-Tag: misc/cutover-egcs-0~4392 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a69e1f6afc37b9203a538f94c89df4efb416847b;p=thirdparty%2Fgcc.git small tweak From-SVN: r9566 --- 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);