This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37911] Operator= called on a non constructed object.
- From: "cfairles at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2008 16:06:54 -0000
- Subject: [Bug c++/37911] Operator= called on a non constructed object.
- References: <bug-37911-16862@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from cfairles at gcc dot gnu dot org 2008-10-24 16:06 -------
I haven't double checked the standard but this looks like undefined behavior.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37911