http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49372
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ktietz at gcc dot gnu.org Resolution| |INVALID --- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-12-10 11:06:49 UTC --- This testcase seems to produce for trunk, 4.7, and 4.6 the output CCDD, which is proper as constructor of B is called by the array-constructor. Btw you will need option -std=c++11 on trunk to get this test compile without issues.