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++/49440] [4.5/4.6/4.7 regression] Invalid dynamic_cast for unnamed namespace


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-23 16:52:52 UTC ---
Author: jason
Date: Thu Jun 23 16:52:48 2011
New Revision: 175340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175340
Log:
    PR c++/49440
    * class.c (set_linkage_according_to_type): Just check TREE_PUBLIC
    on the type's name.

Added:
    trunk/gcc/testsuite/g++.dg/rtti/anon-ns1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


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