aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2017-08-07 12:21:32 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2017-08-07 12:21:32 +0200
commitd5e2c91a26b85184400e3881baaeda27ade84ef9 (patch)
treeb5f49de96f7cc1dc02c4f72f39e879ba0b535e85 /gcc/print-rtl.c
parent1653a8654977e0708b4669ed6637772cd47ac796 (diff)
downloadgcc-d5e2c91a26b85184400e3881baaeda27ade84ef9.zip
gcc-d5e2c91a26b85184400e3881baaeda27ade84ef9.tar.gz
gcc-d5e2c91a26b85184400e3881baaeda27ade84ef9.tar.bz2
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
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index dc8d980..79ec463 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -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: