[Bug libstdc++/81078] dynamic_cast to virtual base produces the wrong answer

2021-08-18 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81078 --- Comment #3 from Arthur O'Dwyer --- Yes, this is a libstdc++ issue. I'm not 100% sure that "the RTTI [generated by GCC] is correct," because I don't know how to use GCC with libc++; but yeah, there's definitely at least some problem with libs

[Bug libstdc++/81078] dynamic_cast to virtual base produces the wrong answer

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81078 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-18 Status|UNCONFIRME

[Bug libstdc++/81078] dynamic_cast to virtual base produces the wrong answer

2017-06-13 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81078 --- Comment #1 from Arthur O'Dwyer --- I've found that the misbehavior actually depends on the *ordering* of bases in the class graph, not just the shape of the graph. // https://wandbox.org/permlink/DaKQxTc5Ldqj9FlY #include struct Sideboard