]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alias: Fix comment typo
authorJakub Jelinek <jakub@redhat.com>
Tue, 25 Nov 2025 09:09:51 +0000 (10:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 25 Nov 2025 09:09:51 +0000 (10:09 +0100)
2025-11-25  Jakub Jelinek  <jakub@redhat.com>

* alias.cc (get_alias_set): Fix comment typo, TYPE_CANOINCAL
-> TYPE_CANONICAL.

gcc/alias.cc

index 4f17664c15b3fc1a1ffa1f1bb99cae8aea5c90b8..a23396eaa35e0a69741b018e247584baf632c712 100644 (file)
@@ -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.  */