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

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

https://gcc.gnu.org/g:d3b2edb2664893cc0deb3d8815effa27436b39f9

commit r17-451-gd3b2edb2664893cc0deb3d8815effa27436b39f9
Author: Jason Merrill <[email protected]>
Date:   Mon May 11 11:55:06 2026 -0400

    c-family: look through non-user-facing typedef [PR124621]

    'aka' printing shouldn't differ between in-tree and installed compilers due
    to difference in whether libstdc++ headers are considered to be system
    headers.  The problem was that if we encounter a non-user-facing typedef
    like __iter_type<T>, we stopped there instead of continuing to look through
    typedefs to find the underlying user type.

            PR c++/124621

    gcc/c-family/ChangeLog:

            * c-common.cc (user_facing_original_type_p): Recurse.

    gcc/testsuite/ChangeLog:

            * g++.dg/reflect/reflect_constant_array2.C: Add -D_GLIBCXX_SYSHDR.

Reply via email to