diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-06 14:18:08 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-06 14:18:08 +0000 |
commit | c933f71e3d23b794c70aa88f5641b1368a958167 (patch) | |
tree | 3130f481fb99da4aebe2b156b196c742b534685d /gcc/fold-const.c | |
parent | 0022eee395602bf298b007b1b5c60841a91fda4e (diff) | |
download | gcc-c933f71e3d23b794c70aa88f5641b1368a958167.zip gcc-c933f71e3d23b794c70aa88f5641b1368a958167.tar.gz gcc-c933f71e3d23b794c70aa88f5641b1368a958167.tar.bz2 |
* fold-const.c (fold_binary): Use code instead of t.
From-SVN: r95970
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 2577da2..c6105dc 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -8727,7 +8727,7 @@ fold_binary (tree expr) /* If this is a comparison of two exprs that look like an ARRAY_REF of the same object, then we can fold this to a comparison of the two offsets. */ - if (COMPARISON_CLASS_P (t)) + if (TREE_CODE_CLASS (code) == tcc_comparison) { tree base0, offset0, base1, offset1; |