https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> 0x7ffdd31bbb60 constructed
> 0x7ffdd31bbb90 copied from 0x7ffdd31bbb60
> 0x7ffdd31bbb60 destroyed
> 0x7ffdd31bbbe0 x.tag_ in main()
> 0x7ffdd31bbbe0 destroyed
> Aborted (core dumped)
> 
> Note that the 'this' pointer in the copy constructor is 0x7fffde6c4d20,

Oops, that was an earlier run, in the output above it is 0x7ffdd31bbb90,

> which is not the address of x.tag_ and not the address in the destructor.

the object that gets destroyed is at 0x7ffdd31bbbe0

Reply via email to