diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-13 11:43:36 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-13 11:43:36 +0000 |
commit | 6d75168146f73aa381dcee34b458d8f88ea8f95a (patch) | |
tree | 9d71548c064addb2a6c8cdf55c9eb6846c29f096 | |
parent | 40b371a7c2fc7dca926f9b3a51ecf55e553711a8 (diff) | |
download | gcc-6d75168146f73aa381dcee34b458d8f88ea8f95a.zip gcc-6d75168146f73aa381dcee34b458d8f88ea8f95a.tar.gz gcc-6d75168146f73aa381dcee34b458d8f88ea8f95a.tar.bz2 |
rtl-ssa: Fix reversed comparisons in accesses.h comment
Noticed while looking at something else that the comment above
def_lookup got the description of the comparisons the wrong way
round.
gcc/
* rtl-ssa/accesses.h (def_lookup): Fix order of comparison results.
-rw-r--r-- | gcc/rtl-ssa/accesses.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtl-ssa/accesses.h b/gcc/rtl-ssa/accesses.h index a47f9d9..09ae583 100644 --- a/gcc/rtl-ssa/accesses.h +++ b/gcc/rtl-ssa/accesses.h @@ -965,13 +965,13 @@ public: // clobber_group that spans P. MUX then contains this definition // or clobber_group. // -// - Otherwise, COMPARISON is less than 0 if we found the definition +// - Otherwise, COMPARISON is greater than 0 if we found the definition // that precedes P or the group of clobbers that precedes P. MUX then // contains this definition or clobber_group. // -// - Otherwise, COMPARISON is greater than zero and we found the -// definition that follows P, or the group of clobbers that follows P. -// MUX then contains this definition or clobber_group. +// - Otherwise, COMPARISON is less than zero and we found the definition +// that follows P, or the group of clobbers that follows P. MUX then +// contains this definition or clobber_group. class def_lookup { public: |