[Bug c++/68164] Destructor side effect unexpectedly elided

2015-11-02 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68164 W E Brown changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/68164] Destructor side effect unexpectedly elided

2015-11-01 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68164 --- Comment #3 from Casey Carter --- Apologies for the vagueness of my response; I actually needed your quote from [class.cdtor]/3 to complete it: "To ... access the value of ... a direct non-static member of an object obj, the construction of o

[Bug c++/68164] Destructor side effect unexpectedly elided

2015-11-01 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68164 --- Comment #2 from W E Brown --- (In reply to Casey Carter from comment #1) > [basic.life]/5 says: > > Before the lifetime of an object has started ... or, after the lifetime of > an object has ended and before the storage which the object occu

[Bug c++/68164] Destructor side effect unexpectedly elided

2015-11-01 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68164 Casey Carter changed: What|Removed |Added CC||Casey at Carter dot net --- Comment #1 fr