re PR c++/68754 (Explicitly defaulted constexpr assignment operator fails to compile)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 30 Sep 2017 17:00:32 +0000 (17:00 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 30 Sep 2017 17:00:32 +0000 (17:00 +0000)
commit333cb61200ca99b916a71e989e25cf68a6ab597a
tree4563be93ea2887cfdfbf160bdea3cacbdca47b12
parent15c77315001af0842a537ff748d1a0995ad38545
re PR c++/68754 (Explicitly defaulted constexpr assignment operator fails to compile)

/cp
2017-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/68754
* method.c (defaulted_late_check): Early return if the defaulted
declaration does not match the expected signature.

/testsuite
2017-09-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/68754
* g++.dg/cpp1y/constexpr-68754.C: Move...
* g++.dg/cpp0x/constexpr-68754.C: ... here, adjust.

From-SVN: r253321
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-68754.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/constexpr-68754.C [deleted file]