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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Arsen Arsenovic <[email protected]>:

https://gcc.gnu.org/g:63f6fe8156c151f9e97422a1fea8ad9a7b74f885

commit r17-6571-g63f6fe8156c151f9e97422a1fea8ad9a7b74f885
Author: Arsen ArsenoviÄ <[email protected]>
Date:   Mon Nov 16 14:39:53 2026 +0000

    gcc/c++: don't use cp_type_quals for LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN

    This is a temporary measure to fix PR target/128734 until the support
    for C++ named address spaces is merged.  By leaving this function as
    default, we don't reach the assert that checks for address space
    qualification that we can't handle.  The named address space patches
    allow us to use cp_type_quals as LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN
    again.

    Note that the presence of this address space qualification can lead to
    ICEs in the compiler, as shown in the comments on that PR, on
    specific (but rare) cases.

    gcc/cp/ChangeLog:

            PR target/128734
            * cp-objcp-common.cc (cp_type_quals_as_set): Remove.
            * cp-objcp-common.h (cp_type_quals_as_set): Remove.
            (LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN): Leave as default.

Reply via email to