public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/PR103786-canonical-verifier-bug)] Fix typo in type verification.
@ 2021-12-21  8:50 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-12-21  8:50 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:83402bb64929c190fa59600b3eee9a88591921b2

commit 83402bb64929c190fa59600b3eee9a88591921b2
Author: Feng Xue <fxue@os.amperecomputing.com>
Date:   Tue Dec 21 09:48:16 2021 +0100

    Fix typo in type verification.
    
            PR ipa/103786
    
    gcc/ChangeLog:
    
            * tree.c (verify_type): Fix typo.

Diff:
---
 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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-21  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21  8:50 [gcc(refs/users/marxin/heads/PR103786-canonical-verifier-bug)] Fix typo in type verification Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).