https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217 --- Comment #1 from Maxime Coste <mawww at kakoune dot org> --- Forgot to mention that this is a regression since gcc 8.2.1 which compiles this code fine. It fails on gcc trunk r268563.