From: Richard Sandiford Date: Wed, 13 Jan 2021 11:43:36 +0000 (+0000) Subject: rtl-ssa: Fix reversed comparisons in accesses.h comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d75168146f73aa381dcee34b458d8f88ea8f95a;p=gcc.git 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. --- diff --git a/gcc/rtl-ssa/accesses.h b/gcc/rtl-ssa/accesses.h index a47f9d997ec..09ae583f993 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: