]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/67557 (Calling copy constructor of base class in constructor of derived...
authorJason Merrill <jason@redhat.com>
Thu, 17 Dec 2015 16:52:19 +0000 (11:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Dec 2015 16:52:19 +0000 (11:52 -0500)
commit0fd098f956290546f050d5445617e6bb4b22fe10
tree00830c5626a1d5366a77eeadfd39b068da669fd8
parent012237fb41a35726c52d3abdb510abff06dda6ec
re PR c++/67557 (Calling copy constructor of base class in constructor of derived class produces crashing code)

PR c++/67557

* call.c (is_base_field_ref): New.
(unsafe_copy_elision_p): New.
(build_over_call): Use it.

From-SVN: r231780
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/init/elide3.C [new file with mode: 0644]