https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151 --- Comment #4 from Csaba Ráduly <csaba_22 at yahoo dot co.uk> --- As I said, GCC trunk (9) can compile this example. Did you check with the released 8.2.0 ?