https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268
--- Comment #5 from Davin McCall <davmac at davmac dot org> --- Hi Richard, I think you marked as a duplicate of the wrong bug. It is indeed a duplicate of 82224 - sorry, I didn't realise that there was already a bug filed, also this test case is "fixed" by version 8.1 and then regresses again in 10.1 (but I assume that is coincidental rather than the underlying issue was fixed).