re PR middle-end/85598 (Incorrect -Wformat-truncation in a loop only at -O2 and -O3)
authorAldy Hernandez <aldyh@redhat.com>
Fri, 22 Feb 2019 13:46:01 +0000 (13:46 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 22 Feb 2019 13:46:01 +0000 (13:46 +0000)
commit965779b4ad0f0abbdc8ab0addd2fae14165a08f4
treee9705216db4985528e7cd40aff61fcbb03f371f6
parentc94500335251e83ccee1ef096f0a63e97834258a
re PR middle-end/85598 (Incorrect -Wformat-truncation in a loop only at -O2 and -O3)

PR middle-end/85598
* gimple-ssa-sprintf.c (pass_sprintf_length::execute): Enable loop
analysis for pass.

From-SVN: r269115
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/gcc.dg/pr85598.c [new file with mode: 0644]