[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls
nicolas.cavallari at lri dot fr
gcc-bugzilla@gcc.gnu.org
Wed Jan 9 17:43:00 GMT 2013
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".
More information about the Gcc-bugs
mailing list