Bug#188943: [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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/14804] [3.3/3.4/3.5 regression] initializing const data with reinterpret_cast-ed pointer-to-member function crashes

2004-03-31 Thread dbaron at dbaron dot org

--- Additional Comments From dbaron at dbaron dot org  2004-04-01 01:43 
---
Further testing shows that the bug happens the same way even if the function is
not virtual, as long as reinterpret_cast (rather than static_cast) is present. 
(And in the non-virtual case, when -fPIC is used, the data should be in
.rel.ro.data instead of .rodata -- which again works fine when static_cast is
used instead of reinterpret_cast.)

Why was this marked as a 3.3 regression?  The bug is not present in 3.3.3.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14804

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c++/14804] [3.3/3.4/3.5 regression] initializing const data with reinterpret_cast-ed pointer-to-member function crashes

2004-03-31 Thread dbaron at dbaron dot org

--- Additional Comments From dbaron at dbaron dot org  2004-04-01 01:44 
---
Ah, never mind.  I see the comments on bug 14640 indicating that it's a
regression on the 3.3 branch since 3.3.3.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14804

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c++/14804] [3.3/3.4/3.5 regression] initializing const data with reinterpret_cast-ed pointer-to-member function crashes

2004-03-31 Thread dbaron at dbaron dot org

--- Additional Comments From dbaron at dbaron dot org  2004-04-01 01:48 
---
It's also probably worth noting here what bug 14640 comment 8 says: that the
regression was caused by the backport of PR10776.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14804

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.