PR tree-optimization/79691 - -Wformat-truncation suppressed by (and only by) -Og
commit07ef3c633c29d91a08b82d79d1b25c916fed3507
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Feb 2017 16:59:16 +0000 (28 16:59 +0000)
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Feb 2017 16:59:16 +0000 (28 16:59 +0000)
tree8b04d5b16abdfae3403d21fddc3784be07515613
parent510bda9fc01d3f5abfb1e086f877c930976e23c5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245782 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr79691.c [new file with mode: 0644]