From 18c0f6759facfbcf0da41de6a4426fb66fcbb907 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 13 Mar 1994 21:16:59 -0500 Subject: (TRUTH_*_EXPR): Convert to integer_type_node. From-SVN: r6772 --- gcc/c-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/c-common.c b/gcc/c-common.c index ecdeb8f..ec60a5f 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1755,6 +1755,8 @@ truthvalue_conversion (expr) case TRUTH_AND_EXPR: case TRUTH_OR_EXPR: case TRUTH_XOR_EXPR: + return convert (integer_type_node, expr); + case ERROR_MARK: return expr; -- cgit v1.1