https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to kal.conley from comment #6) For reference, this was also submitted as pr95353 and is now fixed on trunk (GCC 11). The test case in comment #0 still triggers a warning.