This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls
- From: "nicolas.cavallari at lri dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Jan 2013 17:42:47 +0000
- Subject: [Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls
- Auto-submitted: auto-generated
- References: <bug-55922-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922
--- Comment #1 from nicolas.cavallari at lri dot fr 2013-01-09 17:42:47 UTC ---
Created attachment 29129
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29129
same source with more outputs.
Example output of what i have on my system with this attachment :
Base ctor is called at 0x7fffb7eeb474
Base ctor is called at 0x7fffb7eeb468
A1::Base is at 0x7fffb7eeb468
B1::Base is at 0x7fffb7eeb468
Base ctor is called at 0x7fffb7eeb470
A2::Base is at 0x7fffb7eeb470
C::Base is at 0x7fffb7eeb474
2 2 3
Standard output should read "1 2 3".