[Bug c++/49372] Temporaries evaluated for arguments of a default constructors of array elements not destructed properly (?)
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 10 11:07:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list