https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124393 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >I feel like this warning should always be shown since ignoring it, can lead to critical vulnerabilities. It is not always correct though.