diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-11-24 00:50:31 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-11-24 00:50:31 +0000 |
commit | 0ba646fe67702e7e2c4e34ae57d2c135c66be2bd (patch) | |
tree | f618ee1b9d224543f19d3e1cce17bed7429e2aa8 /gcc/fold-const.c | |
parent | 75669493dc071171aad14bd80072a25f7c4dee69 (diff) | |
download | gcc-0ba646fe67702e7e2c4e34ae57d2c135c66be2bd.zip gcc-0ba646fe67702e7e2c4e34ae57d2c135c66be2bd.tar.gz gcc-0ba646fe67702e7e2c4e34ae57d2c135c66be2bd.tar.bz2 |
fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and constant.
* fold-const.c (fold): Do not return early when optimizing COMPONENT_REF
and constant.
From-SVN: r73870
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 3787915..aea2e08 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -7718,7 +7718,8 @@ fold (tree expr) && (optimize || TREE_CODE (arg1) == INTEGER_CST)) { t1 = optimize_bit_field_compare (code, type, arg0, arg1); - return t1 ? t1 : t; + if (t1) + return t1; } /* If this is a comparison of complex values and either or both sides |