aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFeng Xue <fxue@os.amperecomputing.com>2021-12-21 09:48:16 +0100
committerMartin Liska <mliska@suse.cz>2021-12-23 09:22:06 +0100
commit9ac0730c25b357b5fc75e18677cec27a546c1b64 (patch)
tree963d84e51b9e2f6b96e1565bdff3493be49d716a /gcc
parent1a7ce8570997eb1596c803443d20687b43fa2e47 (diff)
downloadgcc-9ac0730c25b357b5fc75e18677cec27a546c1b64.zip
gcc-9ac0730c25b357b5fc75e18677cec27a546c1b64.tar.gz
gcc-9ac0730c25b357b5fc75e18677cec27a546c1b64.tar.bz2
Fix typo in type verification.
PR ipa/103786 gcc/ChangeLog: * tree.c (verify_type): Fix typo.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 72cceda..0741e3b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -13530,7 +13530,7 @@ verify_type (const_tree t)
tree ct = TYPE_CANONICAL (t);
if (!ct)
;
- else if (TYPE_CANONICAL (t) != ct)
+ else if (TYPE_CANONICAL (ct) != ct)
{
error ("%<TYPE_CANONICAL%> has different %<TYPE_CANONICAL%>");
debug_tree (ct);