https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95949
--- Comment #11 from Julian Sikorski ---
I can still reproduce this with mame master
(0b418d65bae66baa9f334c6daa6dcb4148909f7f) and mingw-w64-x86_64-gcc 11.2.0-5.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98515
--- Comment #3 from Julian Sikorski ---
The initial comment meant to say: This fails with gcc-11 but works on gcc-10.2.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98515
--- Comment #2 from Julian Sikorski ---
Created attachment 49878
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49878&action=edit
failing test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98515
--- Comment #1 from Julian Sikorski ---
Created attachment 49877
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49877&action=edit
compiling test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98515
Bug ID: 98515
Summary: Possible regression causing "is protected within this
context" error
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal