From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 644 invoked by alias); 5 Jul 2006 18:50:55 -0000 Received: (qmail 609 invoked by uid 48); 5 Jul 2006 18:50:48 -0000 Date: Wed, 05 Jul 2006 18:50:00 -0000 Message-ID: <20060705185048.608.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "apl at alum dot mit dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00355.txt.bz2 List-Id: ------- 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