From: Richard Stallman Date: Thu, 6 May 1993 15:58:59 +0000 (+0000) Subject: (truthvalue_conversion): Turn off Apr 29 change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7c837272e95d436c504e402eec90cfdf6dc9b58;p=gcc.git (truthvalue_conversion): Turn off Apr 29 change. From-SVN: r4356 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index 2847b0b8046..ec5f8ada78d 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -958,6 +958,7 @@ truthvalue_conversion (expr) if (TREE_CODE (expr) == ERROR_MARK) return expr; +#if 0 /* This appears to be wrong for C++. */ /* These really should return error_mark_node after 2.4 is stable. But not all callers handle ERROR_MARK properly. */ switch (TREE_CODE (TREE_TYPE (expr))) @@ -977,6 +978,7 @@ truthvalue_conversion (expr) default: break; } +#endif /* 0 */ switch (TREE_CODE (expr)) { @@ -1072,7 +1074,7 @@ truthvalue_conversion (expr) break; /* fall through... */ case BIT_XOR_EXPR: - /* This and MINUR_EXPR can be changed into a comparison of the + /* This and MINUS_EXPR can be changed into a comparison of the two objects. */ if (TREE_TYPE (TREE_OPERAND (expr, 0)) == TREE_TYPE (TREE_OPERAND (expr, 1)))