https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70475
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #1) > See discussion in PR69415. Sorry wrong bug number. IMHO it is OK to warn for the code above.