https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557
--- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Dec 17 16:52:19 2015 New Revision: 231780 URL: https://gcc.gnu.org/viewcvs?rev=231780&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-4_9-branch/gcc/testsuite/g++.dg/init/elide3.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/call.c