https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org --- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> --- I had a quick look this morning to see if I could understand the reason for the last remark of my previous comment. The statements responsible for setting the _data and the _vptr fields of class.11 are certainly visited but never make it into the code. It is as if the parmse.pre and .post are not added. I could not see why. If the rhs of the pointer assignment to return_pointer is set to NULL(), the code behaves correctly. I'll give it another go tonight. Paul