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.