[Bug c++/14804] [3.3/3.4/3.5 regression] initializing const data with reinterpret_cast-ed pointer-to-member function crashes
------- 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.
Reply to: