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++/36405] [4.3/4.4 regression] ICE with typeid of member function



------- Comment #7 from jakub at gcc dot gnu dot org  2008-07-31 19:04 -------
Subject: Bug 36405

Author: jakub
Date: Thu Jul 31 19:02:33 2008
New Revision: 138430

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138430
Log:
        PR c++/36405
        * rtti.c (get_tinfo_decl_dynamic, get_typeid): Call
        complete_type_or_else even for UNKNOWN_TYPE to get diagnostics.

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

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/rtti/typeid8.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/rtti.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36405


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