https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81503
--- Comment #17 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Fixed in trunk so far. Although this test case succeeds on GCC 7, the bug is latent there, so I'll keep this open and backport the fix to other releases in a week or so.