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.