]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree.c
PR c++/70029 - ICE with ref-qualifier and -flto
[thirdparty/gcc.git] / gcc / tree.c
index 7a70eb7760d55a431d6c72ffb9d7564178a08302..721330a4a499e722fd3233988bf54843b0136a6c 100644 (file)
@@ -13220,9 +13220,7 @@ verify_type (const_tree t)
       debug_tree (ct);
       error_found = true;
     }
-  /* FIXME: this is violated by the C++ FE as discussed in PR70029, when
-     FUNCTION_*_QUALIFIED flags are set.  */
-  if (0 && TYPE_MAIN_VARIANT (t) == t && ct && TYPE_MAIN_VARIANT (ct) != ct)
+  if (TYPE_MAIN_VARIANT (t) == t && ct && TYPE_MAIN_VARIANT (ct) != ct)
    {
       error ("TYPE_CANONICAL of main variant is not main variant");
       debug_tree (ct);