https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Oct 21 09:27:12 2015 New Revision: 229121 URL: https://gcc.gnu.org/viewcvs?rev=229121&root=gcc&view=rev Log: PR c++/67557 * call.c (is_base_field_ref): New. (unsafe_copy_elision_p): New. (build_over_call): Use it. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/init/elide3.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/call.c