https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93496
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed on trunk by r266893 for PR 86669, which doesn't seem related. That change was backported to the gcc-8 branch as r267702 for GCC 8.3 which doesn't explain how it was fixed for GCC 8.2