From f65ce22ddc92c46d74b3426ed735244addf9740f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 23 Dec 2012 19:32:32 +0900 Subject: [PATCH] Fold constants for the return value of test_expr. More constantness preservation. --- tools/qfcc/source/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index b296524ee..569d78901 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1125,7 +1125,7 @@ test_expr (expr_t *e) new = binary_expr (NE, e, new); new->line = e->line; new->file = e->file; - return new; + return fold_constants (new); } void