Commit d5e2c91a by Segher Boessenkool Committed by Segher Boessenkool

print-rtl: NOT is ~, not !

Slim RTL dumps print the RTL code NOT as !, but that is misleading:
its semantics are like the C operator ~.  This fixes it.


	* print-rtl.c (print_exp): Print NOT as "~" instead of as "!".

From-SVN: r250913
parent 1653a865
2017-08-07 Segher Boessenkool <segher@kernel.crashing.org>
* print-rtl.c (print_exp): Print NOT as "~" instead of as "!".
2017-08-07 Marek Polacek <polacek@redhat.com>
PR middle-end/81737
......
......@@ -1283,7 +1283,7 @@ print_exp (pretty_printer *pp, const_rtx x, int verbose)
op[1] = XEXP (x, 1);
break;
case NOT:
st[0] = "!";
st[0] = "~";
op[0] = XEXP (x, 0);
break;
case AND:
......
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