diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-06 15:58:59 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-06 15:58:59 +0000 |
commit | d7c837272e95d436c504e402eec90cfdf6dc9b58 (patch) | |
tree | efe409eb20f1b6a81ef75ba18586afaee9d47d19 /gcc | |
parent | d8984b6e76196c6dac40929a1fae9be7cd365655 (diff) | |
download | gcc-d7c837272e95d436c504e402eec90cfdf6dc9b58.zip gcc-d7c837272e95d436c504e402eec90cfdf6dc9b58.tar.gz gcc-d7c837272e95d436c504e402eec90cfdf6dc9b58.tar.bz2 |
(truthvalue_conversion): Turn off Apr 29 change.
From-SVN: r4356
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 2847b0b..ec5f8ad 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))) |