[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26 commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26 Author: Jason Merrill Date: M

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2022-03-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2022-01-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2022-01-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Patrick Palka changed: What|Removed |Added Assignee|ppalka at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-11-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-11-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Andrew Pinski changed: What|Removed |Added CC||roland at gnu dot org --- Comment #4 fr

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #3 from Curdeius Curdeius --- For other users with this problem, a workaround is to use a named struct. So here, it would look like: ``` typedef struct { const void* content; } put_t; typedef struct { union { put_t p

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Ever confirmed|0

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2021-10-14 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #1 from Curdeius Curdeius --- Also, the bug doesn't appear (or TBH, it's a different bug), when the unnamed union contains a `content` data member. But it seems to be a bug then as well, because it's not what is intended to be initia