https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
--- Comment #7 from Jonathan Wakely ---
"broken with structured binding" doesn't seem accurate. It works fine, there
were just some ill-formed cases that should have given errors.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
Jakub Jelinek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
--- Comment #5 from GCC Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:40485378ade83102d7aa30c317f5d6c90c1d232b
commit r14-8832-g40485378ade83102d7aa30c317f5d6c90c1d232b
Author: Jakub Jelinek
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
--- Comment #2 from Marek Polacek ---
Yes, seems that currently we only check that it's the first specifier:
/* Special case for "this" specifier, indicating a parm is an xobj parm.
The "this" specifier must be the first specifie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
--- Comment #1 from Jakub Jelinek ---
Seems it is far more cases where we allow it:
struct S { int a, b; };
struct U {
void foo () { this int g = 1; }
};
this auto h = 1;
int
main ()
{
S s = { 1, 2 };
short t[3] = { 3, 4, 5 };
this auto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113788
Marek Polacek changed:
What|Removed |Added
Last reconfirmed||2024-02-06
Status|UNCONFIRM