------- Comment #8 from pcarlini at suse dot de 2008-01-05 10:23 ------- (In reply to comment #6) > Agreed. We should remove the offending patch set from 4.2. It's been too > troublesome and we can't do this kind of compile-behavior change on a minor > update to a stable release series.
Agreed. > Oh well. > > Probably what needs to happen on mainline is > > -fexceptions and __EXCEPTIONS > > should be used to model something like > > -frtti and __RTTI > > Then macro solutions are possible in the library. > > Or, we could change mainline cc1plus to silently convert dynamic_cast to > static_cast when -fno-rtti. I would actually prefer this solution. Yes, I would also like the latter solution, a lot. But whereas I could reasonably quickly implement myself the latter, I'm not at all sure about the former and I'm not even sure the C++ front-end maintainers agree with the idea itself :( I'm adding Mark and Jason in CC, to have feedback, also about the good point you are raising in the next message. -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at redhat dot com, | |mark at codesourcery dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680