https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63477
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Known to work| |8.0 Resolution|--- |FIXED Known to fail|8.0 | --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Strangely, I cannot reproduce this warning anymore with GCC 8. Bisection points to r220157 (gcc 5.0.0) as the revision that fixed it. I've added the test case to the test suite in r254833 and with that I'm resolving this bug as fixed. Please reopen it if the problem reappears.