[Bug c++/69410] [10/11/12/13 Regression] friend declarations in local classes
creatorsmithmdt at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 11 09:08:52 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69410
--- Comment #6 from Zopolis0 <creatorsmithmdt at gmail dot com> ---
I found success in simply disabling the check at line 3754 of
gcc/cp/name-lookup.cc by setting it to 'if (1 != 1)', which then generated an
ICE at line 2484 of gcc/cp/name-lookup.cc, so I simply disabled the check
there.
While this worked for my issue, I have not tested the change very thoroughly
and it no doubt causes issues elsewhere.
I will look into this further.
More information about the Gcc-bugs
mailing list