Commit 8ac1abdf by Jim Wilson

(invert_truthvalue): Check for ERROR_MARK input.

From-SVN: r4864
parent 22291e2f
......@@ -2076,6 +2076,9 @@ invert_truthvalue (arg)
tree type = TREE_TYPE (arg);
enum tree_code code = TREE_CODE (arg);
if (code == ERROR_MARK)
return arg;
/* If this is a comparison, we can simply invert it, except for
floating-point non-equality comparisons, in which case we just
enclose a TRUTH_NOT_EXPR around what we have. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment