From 2092e3f229f84c225e9d224445b5f9b520af9450 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 25 Nov 2025 10:09:51 +0100 Subject: [PATCH] alias: Fix comment typo 2025-11-25 Jakub Jelinek * alias.cc (get_alias_set): Fix comment typo, TYPE_CANOINCAL -> TYPE_CANONICAL. --- gcc/alias.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/alias.cc b/gcc/alias.cc index 4f17664c15b..a23396eaa35 100644 --- a/gcc/alias.cc +++ b/gcc/alias.cc @@ -1099,7 +1099,7 @@ get_alias_set (tree t) p = build_pointer_type (p); gcc_checking_assert (p == TYPE_MAIN_VARIANT (p)); /* build_pointer_type should always return the canonical type. - For LTO TYPE_CANOINCAL may be NULL, because we do not compute + For LTO TYPE_CANONICAL may be NULL, because we do not compute them. Be sure that frontends do not glob canonical types of pointers in unexpected way and that p == TYPE_CANONICAL (p) in all other cases. */ -- 2.47.3