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++/34364] [4.1/4.2/4.3 Regression] class& is not known as as a class-type anymore after dynamic_cast



------- Comment #3 from jakub at gcc dot gnu dot org  2007-12-11 08:20 -------
Subject: Bug 34364

Author: jakub
Date: Tue Dec 11 08:20:15 2007
New Revision: 130770

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130770
Log:
        PR c++/34364
        * rtti.c (build_dynamic_cast): Call convert_from_reference even for
        dynamic_cast in a template.

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

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


-- 


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


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