[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 31 01:58:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-31 01:58 -------
The problem here is that expand_expr_real creates a temporary variable and
stores the CONSTRCUTOR corresponding to the brace-enclosed initializer there.
Then, it copies the temporary to the global variable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15172
More information about the Gcc-bugs
mailing list