aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-04-24 16:27:26 -0400
committerJason Merrill <jason@redhat.com>2020-04-25 00:17:30 -0400
commit352811870d7d7edcca109ef50822e26ca7ef2b36 (patch)
tree10785d379f68b116876f6b29690ad2fdeb98a628 /ar-lib
parent5e7e8b98f49eda9ffb9817d97975a211c87c5a53 (diff)
downloadgcc-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 'ar-lib')
0 files changed, 0 insertions, 0 deletions