PR tree-optimization/79691 - -Wformat-truncation suppressed by (and only by) -Og
authorMartin Sebor <msebor@redhat.com>
Tue, 28 Feb 2017 16:59:16 +0000 (16:59 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 28 Feb 2017 16:59:16 +0000 (09:59 -0700)
commit203ced0a773b11b1a364f67cd35b4d69f0438fb5
tree8b04d5b16abdfae3403d21fddc3784be07515613
parent8a915b876abe5c82bb3efd0420ceb8d8f3faf988
PR tree-optimization/79691 - -Wformat-truncation suppressed by (and only by) -Og

gcc/ChangeLog:

PR tree-optimization/79691
* passes.def (pass_all_optimizations_g): Enable pass_sprintf_length.

gcc/testsuite/ChangeLog:

PR tree-optimization/79691
* gcc.dg/tree-ssa/pr79691.c: New test.

From-SVN: r245782
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr79691.c [new file with mode: 0644]