[Bug c++/98515] Possible regression causing "is protected within this context" error

2021-01-04 Thread belegdol at gmail dot com via Gcc-bugs
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.

[Bug c++/98515] Possible regression causing "is protected within this context" error

2021-01-04 Thread belegdol at gmail dot com via Gcc-bugs
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

[Bug c++/98515] Possible regression causing "is protected within this context" error

2021-01-04 Thread belegdol at gmail dot com via Gcc-bugs
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