diff options
author | Mike Stump <mrs@gcc.gnu.org> | 1995-05-02 21:54:39 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 1995-05-02 21:54:39 +0000 |
commit | a69e1f6afc37b9203a538f94c89df4efb416847b (patch) | |
tree | 334c0a96759b22f3cc97be0385381e2750c82ebe /gcc/fold-const.c | |
parent | 79cb82b9657058e5b822cdc22699ba3ab108048c (diff) | |
download | gcc-a69e1f6afc37b9203a538f94c89df4efb416847b.zip gcc-a69e1f6afc37b9203a538f94c89df4efb416847b.tar.gz gcc-a69e1f6afc37b9203a538f94c89df4efb416847b.tar.bz2 |
small tweak
From-SVN: r9566
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index dd0f8a2..7c137ec 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); |