aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2016-12-15 04:35:31 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2016-12-14 21:35:31 -0700
commit2c8c83ac7737c58b5f34a277142b9a1efaf27534 (patch)
tree027946fe285d26835aee90e1372257c41e6f4748 /gcc/tree-parloops.c
parent1750f2a55a7f17c557fa591691a15c363181fa80 (diff)
downloadgcc-2c8c83ac7737c58b5f34a277142b9a1efaf27534.zip
gcc-2c8c83ac7737c58b5f34a277142b9a1efaf27534.tar.gz
gcc-2c8c83ac7737c58b5f34a277142b9a1efaf27534.tar.bz2
PR middle-end/78519 - missing warning for sprintf %s with null pointer
gcc/ChangeLog: PR middle-end/78519 * gimple-ssa-sprintf.c (format_string): Handle null pointers. (format_directive): Diagnose null pointer arguments. (pass_sprintf_length::handle_gimple_call): Diagnose null destination pointers. Correct location of null format string in diagnostics. gcc/testsuite/ChangeLog: PR middle-end/78519 * gcc.dg/tree-ssa/builtin-sprintf-warn-7.c: New test. From-SVN: r243684
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions