https://gcc.gnu.org/g:2092e3f229f84c225e9d224445b5f9b520af9450

commit r16-5575-g2092e3f229f84c225e9d224445b5f9b520af9450
Author: Jakub Jelinek <[email protected]>
Date:   Tue Nov 25 10:09:51 2025 +0100

    alias: Fix comment typo
    
    2025-11-25  Jakub Jelinek  <[email protected]>
    
            * alias.cc (get_alias_set): Fix comment typo, TYPE_CANOINCAL
            -> TYPE_CANONICAL.

Diff:
---
 gcc/alias.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/alias.cc b/gcc/alias.cc
index 4f17664c15b3..a23396eaa35e 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.  */

Reply via email to