https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78461
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|c |middle-end Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. Enabling the -fprintf-return-value optimization makes the pass run even when -Wformat-length is otherwise inactive which isn't as thoroughly tested as when the warning is enabled.