This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used
- From: "apl at alum dot mit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2006 18:50:48 -0000
- Subject: [Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used
- References: <bug-10891-6057@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from apl at alum dot mit dot edu 2006-07-05 18:50 -------
I think that this fix may have been too aggressive. I have a templated class
with a member function that does a dynamic_cast<>. With 4.2, I'm getting
errors when
I compile this template, despite the fact that I don't call the method that
needs RTTI.
I'll build a test case and submit it.
I believe that this bug should be reopened as a regression in functionality
against 3.4.3 thru 4.1.1
--
apl at alum dot mit dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |apl at alum dot mit dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10891