https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61941

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |7.3.0, 8.2.0, 9.0
         Resolution|---                         |FIXED

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
This was fixed in GCC 7 by r241831:

r241831 | jason | 2016-11-03 15:52:58 -0400 (Thu, 03 Nov 2016) | 12 lines

        Use type_hash_eq langhook in check_qualified_type.

gcc/
        * tree.c (check_lang_type): New.
        (check_qualified_type): Use it.
        (check_aligned_type): Use it.
        * tree.h: Declare it.
gcc/cp/
        * tree.c (cp_check_qualified_type): Call check_base_type instead
        of check_qualified_type.
        (cxx_type_hash_eq): Check ref-qualifiers.
        * typeck.c (apply_memfn_quals): No need to mess with TYPE_CANONICAL.

Reply via email to