aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-09-23 15:02:01 -0600
committerMartin Sebor <msebor@redhat.com>2020-09-23 15:02:01 -0600
commite92779db3304bc96a6b861f87c5edde8dd4d4030 (patch)
tree952c25aeac4d9625c19a76489b8b44f1566948bd /gcc/gimple-array-bounds.cc
parent37c3c297396af3229e9de35ef437f3614e0b4b87 (diff)
downloadgcc-e92779db3304bc96a6b861f87c5edde8dd4d4030.zip
gcc-e92779db3304bc96a6b861f87c5edde8dd4d4030.tar.gz
gcc-e92779db3304bc96a6b861f87c5edde8dd4d4030.tar.bz2
Avoid assuming input corresponds to valid source code (PR c/97131).
gcc/c-family/ChangeLog: PR c/97131 * c-warn.c (warn_parm_ptrarray_mismatch): Handle more invalid input. gcc/testsuite/ChangeLog: PR c/97131 * gcc.dg/Warray-parameter-6.c: New test.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions