https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #8 from CVS Commits ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:45a5aa80240d2033fb490f974756b947f8d0db40
commit r10-9213-g45a5aa80240d2033fb490f974756b947f8d0db40
Author: Scott Snyder
Da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #6 from Jonathan Wakely ---
(In reply to CVS Commits from comment #2)
> Apparently vec.h doesn't build with -std=c++20/gnu++20, since the
> DR2237 r11-532 change.
> template
> class auto_delete_vec
> {
> priva
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #5 from Jakub Jelinek ---
We were using:
template
struct S {
private:
S (const S &) = delete;
S operator = (const S &) = delete;
};
With the change we are using:
template
struct S {
private:
S (const S &) = delete;
S operato
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #4 from Jonathan Wakely ---
Well, strictly speaking the change isn't wrong, and arguably it's an
improvement. But it's incorrect for GCC to require it in C++20 mode.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #3 from Jonathan Wakely ---
This change is incorrect, r11-532-g4b38d56dbac6742b038551a36ec80200313123a1 is
wrong to reject that assignment operator. The declarator-id is "operator=" and
so doesn't contain a template-id at all.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
--- Comment #2 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:bad800c03d00a57fc21718c160459d9a1e8d747a
commit r11-5660-gbad800c03d00a57fc21718c160459d9a1e8d747a
Author: Scott Snyder
Date: Wed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |11.0
Keywords|