]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/86099 - ICE with trivial copy and non-trivial default ctor.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jun 2018 00:02:42 +0000 (00:02 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jun 2018 00:02:42 +0000 (00:02 +0000)
commiteed138cf47a58c474a30270ff81b7f632278356d
treeea0c1a92e87036b9a00e85dac50eaf0db7639338
parentae5baadd3e080a87f050bdfea2c50737c4a7f915
PR c++/86099 - ICE with trivial copy and non-trivial default ctor.

* constexpr.c (instantiate_cx_fn_r): Don't synthesize trivial
constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261576 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-template18.C [new file with mode: 0644]