https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752
--- Comment #5 from Csaba Ráduly <csaba_22 at yahoo dot co.uk> --- The fact that GCC 11 shows an error for the code in comment #4 suggests that this was a bug which was fixed. Does it ring a bell to anyone? This bug should probably marked as a duplicate, but of which other bug?