This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29928] typeid of unknown bound array
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2007 20:21:47 -0000
- Subject: [Bug c++/29928] typeid of unknown bound array
- References: <bug-29928-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo at gcc dot gnu dot org 2007-05-14 21:21 -------
Subject: Bug 29928
Author: paolo
Date: Mon May 14 20:21:34 2007
New Revision: 124724
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124724
Log:
/cp
2007-05-14 Paolo Carlini <pcarlini@suse.de>
PR c++/29928
* rtti.c (get_tinfo_decl_dynamic, get_typeid): Try to complete the
type only if is a class type (5.2.8/4).
/testsuite
2007-05-14 Paolo Carlini <pcarlini@suse.de>
PR c++/29928
* g++.dg/rtti/typeid5.C: New.
Added:
trunk/gcc/testsuite/g++.dg/rtti/typeid5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/rtti.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29928