aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dce.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2017-04-28 22:29:40 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2017-04-28 16:29:40 -0600
commitd127ae9fbed54655d1b8366be1084f6a860794b2 (patch)
treeb9636a01fc267c0c7e214301db75f442397a5df2 /gcc/tree-ssa-dce.c
parentc961093393e427bce36172d6b3d0348af403cd96 (diff)
downloadgcc-d127ae9fbed54655d1b8366be1084f6a860794b2.zip
gcc-d127ae9fbed54655d1b8366be1084f6a860794b2.tar.gz
gcc-d127ae9fbed54655d1b8366be1084f6a860794b2.tar.bz2
PR tree-optimization/80523 - -Wformat-overflow doesn't consider -fexec-charset
gcc/ChangeLog: PR tree-optimization/80523 * gimple-ssa-sprintf.c (target_to_host_charmap): New global variable. (init_target_to_host_charmap, target_to_host, target_strtol10): New functions. (maybe_warn, format_directive, parse_directive): Use new functions. (pass_sprintf_length::execute): Call init_target_to_host_charmap. gcc/testsuite/ChangeLog: PR tree-optimization/80523 * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: New test. From-SVN: r247401
Diffstat (limited to 'gcc/tree-ssa-dce.c')
0 files changed, 0 insertions, 0 deletions