https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93050
--- Comment #1 from DB <db0451 at gmail dot com> --- This bug does not seem to occur with g++ (Debian 9.2.1-21) 9.2.1 20191130 so either it was fixed between 9.2.0 and 9.2.1, or something peculiar to MSYS2/MinGW64/Windows is causing it.