diff options
author | Jason Merrill <jason@redhat.com> | 2022-04-14 15:34:14 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-04-14 17:09:57 -0400 |
commit | c5de3444c4798758cdd800eca144480b4a8ef299 (patch) | |
tree | 83f97afcf3f3fc3813319596582573e28e4acc10 /libphobos | |
parent | 82536fbb8a7d150b829650378e0ba07dad5c8fb8 (diff) | |
download | gcc-c5de3444c4798758cdd800eca144480b4a8ef299.zip gcc-c5de3444c4798758cdd800eca144480b4a8ef299.tar.gz gcc-c5de3444c4798758cdd800eca144480b4a8ef299.tar.bz2 |
c++: constexpr trivial -fno-elide-ctors [PR104646]
The constexpr constructor checking code got confused by the expansion of a
trivial copy constructor; we don't need to do that checking for defaulted
ctors, anyway.
PR c++/104646
gcc/cp/ChangeLog:
* constexpr.cc (maybe_save_constexpr_fundef): Don't do extra
checks for defaulted ctors.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/constexpr-fno-elide-ctors1.C: New test.
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions