https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67002
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> --- That came out of a GCC version with has a known wrong-code bug (PR 66930) Please try again with the patch https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66930#c10