diff options
author | Jason Merrill <jason@redhat.com> | 2020-04-24 16:27:26 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-04-25 00:17:30 -0400 |
commit | 352811870d7d7edcca109ef50822e26ca7ef2b36 (patch) | |
tree | 10785d379f68b116876f6b29690ad2fdeb98a628 /configure | |
parent | 5e7e8b98f49eda9ffb9817d97975a211c87c5a53 (diff) | |
download | gcc-352811870d7d7edcca109ef50822e26ca7ef2b36.zip gcc-352811870d7d7edcca109ef50822e26ca7ef2b36.tar.gz gcc-352811870d7d7edcca109ef50822e26ca7ef2b36.tar.bz2 |
c++: implicit operator== with previous decl [PR94583]
P2085 clarified that a defaulted comparison operator must be the first
declaration of the function. Rejecting that avoids the ICE trying to
compare the noexcept-specifications.
gcc/cp/ChangeLog
2020-04-24 Jason Merrill <jason@redhat.com>
PR c++/94583
* decl.c (redeclaration_error_message): Reject defaulted comparison
operator that has been previously declared.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions