https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89550
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- GCC 10 doesn't warn on the submitted test case so it looks like the change in r269485 suppressed it. The patch was submitted here: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00321.html There's no test case in the commit and from the description on gcc-patches it's not clear if the patch was supposed to be a fix for this bug or just some general fix. Jakub, should this be resolved as fixed or what?