https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122456
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Macleod from comment #13) > There is also a second patch coming next which makes a minor tweak to the > debug output in the derived class... and voila.. that makes the trap go > away!!! Again, there is no real functional change. That would make it seems like the code you added is being miscompiled and not your code causing the miscompiling directly. Figuring that out with LTO and PGO is much much harder.
