re PR c++/87547 (G++ reports bad type names for bit-field members)
authorJakub Jelinek <jakub@redhat.com>
Thu, 11 Oct 2018 07:07:22 +0000 (09:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 11 Oct 2018 07:07:22 +0000 (09:07 +0200)
commitf7904392b7b6ce8a9949b62692342f3c1cdc3621
treec6aeb9b6591b9c06e80c2d34d1c4ce7d3cf5fe4e
parent6b0649cba367667c3f346a2f8ec992ddc39c13c1
re PR c++/87547 (G++ reports bad type names for bit-field members)

PR c++/87547
* rtti.c (get_tinfo_decl_dynamic): Use unlowered_expr_type instead
of TREE_TYPE.

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

From-SVN: r265033
gcc/cp/ChangeLog
gcc/cp/rtti.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/rtti/typeid12.C [new file with mode: 0644]