This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49440] [4.5/4.6/4.7 regression] Invalid dynamic_cast for unnamed namespace
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Jun 2011 21:01:10 +0000
- Subject: [Bug c++/49440] [4.5/4.6/4.7 regression] Invalid dynamic_cast for unnamed namespace
- Auto-submitted: auto-generated
- References: <bug-49440-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49440
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.06.22 21:00:47
CC| |jason at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
Summary|Invalid dynamic_cast for |[4.5/4.6/4.7 regression]
|unnamed namespace |Invalid dynamic_cast for
| |unnamed namespace
Ever Confirmed|0 |1
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-22 21:00:47 UTC ---
This is related to the change to use string comparison for matching type_infos.
We have a special case for file-local symbols, but aren't using it here for
some reason.
http://gcc.gnu.org/ml/gcc/2009-08/msg00258.html