diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-07 14:32:05 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-07 14:32:05 -0400 |
commit | ac27d5898757e69305043b1e967ea70c34f625b8 (patch) | |
tree | 7eb081ebe87c7e950900ec25a51a9b4dcbd0d81e /gcc | |
parent | 71f1501370b2873a7f4615bbc67c4b421f285986 (diff) | |
download | gcc-ac27d5898757e69305043b1e967ea70c34f625b8.zip gcc-ac27d5898757e69305043b1e967ea70c34f625b8.tar.gz gcc-ac27d5898757e69305043b1e967ea70c34f625b8.tar.bz2 |
(fold): Don't try to process an RTL_EXPR.
From-SVN: r5274
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fold-const.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 81b9388..4f0e8b89 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3070,6 +3070,10 @@ fold (expr) int wins = 1; + /* Don't try to process an RTL_EXPR since its operands aren't trees. */ + if (code == RTL_EXPR) + return t; + /* Return right away if already constant. */ if (TREE_CONSTANT (t)) { |