From: Jakub Jelinek Date: Tue, 25 Nov 2025 09:09:51 +0000 (+0100) Subject: alias: Fix comment typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2092e3f229f84c225e9d224445b5f9b520af9450;p=thirdparty%2Fgcc.git alias: Fix comment typo 2025-11-25 Jakub Jelinek * alias.cc (get_alias_set): Fix comment typo, TYPE_CANOINCAL -> TYPE_CANONICAL. --- 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. */