re PR c++/85067 (ICE with volatile parameter in defaulted copy-constructor)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 27 Mar 2018 21:19:25 +0000 (21:19 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 27 Mar 2018 21:19:25 +0000 (21:19 +0000)
commitf7d9ed11b28023715dfc10f29754beff86b28fe9
tree78a20a80bcadfdaa90e3ef47c4cf71234251bf73
parent153dba6cbb3b37ad07d23d212890b2bd055ac05f
re PR c++/85067 (ICE with volatile parameter in defaulted copy-constructor)

/cp
2018-03-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/85067
* method.c (defaulted_late_check): Partially revert r253321 changes,
do not early return upon error.

/testsuite
2018-03-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/85067
* g++.dg/cpp0x/defaulted51.C: New.
* g++.dg/cpp0x/constexpr-68754.C: Adjust.

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