[Bug c++/67557] [4.9 Regression] Calling copy constructor of base class in constructor of derived class produces crashing code
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 8 16:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557
--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 8 16:02:10 2016
New Revision: 232171
URL: https://gcc.gnu.org/viewcvs?rev=232171&root=gcc&view=rev
Log:
PR c++/68983
PR c++/67557
* call.c (unsafe_copy_elision_p): Look through COMPOUND_EXPR.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/init/elide4.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/call.c
More information about the Gcc-bugs
mailing list