On December 22, 2021 1:03:18 PM GMT+01:00, "Martin Liška" <mli...@suse.cz> 
wrote:
>Hello.
>
>The patch is quite obvious fix.
>
>Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
>Ready to be installed?

Ok. 

Richard. 

>Thanks,
>Martin
>
>       PR ipa/103786
>
>gcc/ChangeLog:
>
>       * tree.c (verify_type): Fix typo.
>---
>  gcc/tree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/gcc/tree.c b/gcc/tree.c
>index 72cceda568f..0741e3b01af 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);

Reply via email to