https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137
--- Comment #9 from Liu Hao <lh_mouse at 126 dot com> --- (In reply to Nathan Sidwell from comment #6) > Created attachment 44623 [details] > patch > > This patch appears to fix the problem It'd be good to (a) confirms it also > passes on MS's compiler With this patch applied, GCC 8.2.1 accepts the testcase, as well as Microsoft CL 19.15.26726 .