This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34121] wrong this pointer passed to constructor of temporary object
- From: "peter_foelsche at agilent dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2007 16:38:59 -0000
- Subject: [Bug c++/34121] wrong this pointer passed to constructor of temporary object
- References: <bug-34121-15371@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from peter_foelsche at agilent dot com 2007-11-16 16:38 -------
Created an attachment (id=14564)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14564&action=view)
test.cpp
contains a main function at the end which calls printf() with some temporary
objects. I put printf() into every constructor and every destructor to show the
this pointer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34121