[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-07-05 Thread apl at alum dot mit dot edu
--- Comment #8 from apl at alum dot mit dot edu 2006-07-05 19:08 --- Created an attachment (id=11835) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11835&action=view) protection against dynamic_cast<> with -fno-rtti is too eager Here's a test that NEVER instantiates the template,

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-07-05 Thread apl at alum dot mit dot edu
--- 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

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-02-14 Thread dbaron at dbaron dot org
--- Comment #6 from dbaron at dbaron dot org 2006-02-14 22:29 --- Was it really necessary to break dynamic_cast() with -fno-rtti ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10891

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-01-29 Thread gdr at gcc dot gnu dot org
--- Comment #5 from gdr at gcc dot gnu dot org 2006-01-29 10:38 --- Subject: Bug 10891 Added: branches/c++-compat-branch/boehm-gc/callprocs URL: http://gcc.gnu.org/viewcvs/branches/c%2B%2B-compat-branch/boehm-gc/callprocs?root=gcc&view=auto&rev=110367 ==

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-01-22 Thread gdr at gcc dot gnu dot org
--- Comment #4 from gdr at gcc dot gnu dot org 2006-01-22 17:39 --- Fixed in 4.2.0. -- gdr at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-01-22 Thread gdr at gcc dot gnu dot org
--- Comment #3 from gdr at gcc dot gnu dot org 2006-01-22 17:32 --- Subject: Bug 10891 Author: gdr Date: Sun Jan 22 17:32:30 2006 New Revision: 110092 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110092 Log: 2006-01-22 Gabriel Dos Reis <[EMAIL PROTECTED]> PR c++/108

[Bug c++/10891] code using dynamic_cast causes segfaults when -fno-rtti is used

2006-01-22 Thread gdr at gcc dot gnu dot org
--- Comment #2 from gdr at gcc dot gnu dot org 2006-01-22 10:52 --- Definitely. Use of dynamic_cast should be rejected if -fno-rtti. Working on a patch. -- Gaby -- gdr at gcc dot gnu dot org changed: What|Removed |Added --