From 6d75168146f73aa381dcee34b458d8f88ea8f95a Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 13 Jan 2021 11:43:36 +0000 Subject: [PATCH] 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. --- gcc/rtl-ssa/accesses.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.30.2