[Bug c++/87547] G++ reports bad type names for bit-field members

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 11 07:07:00 GMT 2018


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 11 07:07:22 2018
New Revision: 265033

URL: https://gcc.gnu.org/viewcvs?rev=265033&root=gcc&view=rev
Log:
        PR c++/87547
        * rtti.c (get_tinfo_decl_dynamic): Use unlowered_expr_type instead
        of TREE_TYPE.

        * g++.dg/rtti/typeid12.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/rtti/typeid12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/rtti.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list