aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2022-01-27 01:22:48 +0000
committerAndrew Pinski <apinski@marvell.com>2022-01-31 23:26:18 +0000
commit691924db0d85f2e6851f0a633ba4e2d6b874b772 (patch)
tree8605ab6584b0f357cb5b3fb2daef7c667cbf803c
parent43ee2127641a1a1821447fe6bb7b573ee7b0eac1 (diff)
downloadgcc-691924db0d85f2e6851f0a633ba4e2d6b874b772.zip
gcc-691924db0d85f2e6851f0a633ba4e2d6b874b772.tar.gz
gcc-691924db0d85f2e6851f0a633ba4e2d6b874b772.tar.bz2
Fix comment for operand_compare::operand_equal_p.
The OEP_* enums were moved to tree-core.h in r0-124973-g5e351e960763 but the comment was correct when it was added added to fold-const.h in r10-4231-g7f4a8ee03d40. This fixes the reference to the OEP_* enum to reference tree-core. Committed as obvious after a bootstrap/test on x86_64-linux. gcc/ChangeLog: * fold-const.h (operand_compare::operand_equal_p): Fix comment about OEP_* flags.
-rw-r--r--gcc/fold-const.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.h b/gcc/fold-const.h
index a9a3062..394a67e 100644
--- a/gcc/fold-const.h
+++ b/gcc/fold-const.h
@@ -243,7 +243,7 @@ class operand_compare
{
public:
/* Return true if two operands are equal. The flags fields can be used
- to specify OEP flags described above. */
+ to specify OEP flags described in tree-core.h. */
virtual bool operand_equal_p (const_tree, const_tree, unsigned int flags);
/* Generate a hash value for an expression. This can be used iteratively