[Bug c/78768] -Walloca-larger-than and -Wformat-length warnings disabled by -flto
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 17:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78768
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
r244326 adds LTO to -Walloca-larger-than, -Wformat-length, and
-Wformat-truncation, making the -Walloca-larger-than warning work with LTO.
Even though the gimple-ssa-sprintf pass seems to run with -flto the other two
warnings still don't work for some reason. I've raised bug 79062 to track
that.
More information about the Gcc-bugs
mailing list