https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97627
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Still broken on current 10 branch, as written works fine on the trunk due to the C++ FE loop changes. Bin, did you have time to look into this yet?