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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nat...@gcc.gnu.org>:

https://gcc.gnu.org/g:62fb1b9e0da44a15b0434def20724f989d61e27b

commit r11-5708-g62fb1b9e0da44a15b0434def20724f989d61e27b
Author: Nathan Sidwell <nat...@acm.org>
Date:   Thu Dec 3 07:42:09 2020 -0800

    c++: Fix array type dependency [PR 98107]

    I'd missed some paths through build_cplus_array_type, plus, some
    arrays come via the C-type builder.  This propagates dependency in
    more places and asserts that in the cases where TYPE_DEPENDENT_P_VALID
    is unset, the type is non-dependent.

            PR c++/98107
            gcc/cp/
            * tree.c (build_cplus_array_type): Mark dependency of new variant.
            (cp_build_qualified_type_real, strip_typedefs): Assert
            TYPE_DEPENDENT_P_VALID, or not a dependent type.

Reply via email to