]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/86099 - ICE with trivial copy and non-trivial default ctor.
authorJason Merrill <jason@redhat.com>
Thu, 14 Jun 2018 00:02:42 +0000 (20:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Jun 2018 00:02:42 +0000 (20:02 -0400)
commit4fdda3ceb39dfe570b5583780628ae0301642b76
treeea0c1a92e87036b9a00e85dac50eaf0db7639338
parent5cef3733596c6424dee18d7e36bc41162628653b
PR c++/86099 - ICE with trivial copy and non-trivial default ctor.

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

From-SVN: r261576
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-template18.C [new file with mode: 0644]