From ac27d5898757e69305043b1e967ea70c34f625b8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 7 Sep 1993 14:32:05 -0400 Subject: (fold): Don't try to process an RTL_EXPR. From-SVN: r5274 --- gcc/fold-const.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/fold-const.c') 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)) { -- cgit v1.1