This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29928] typeid of unknown bound array



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]