https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58972
--- Comment #6 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- (In reply to Jonathan Wakely from comment #5) > Seems to be fixed on trunk, probably by Ville's fix for protected members. Yes, that fix is for 59483, I didn't wish to have these as duplicates because while the original problem of this bug report is fixed by the same patch, we need to look at the ICE separately, since it's unrelated. If someone wants, we could rip that out to a separate bug and close this one as RESOLVED.