aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-11-17 15:09:23 -0700
committerMartin Sebor <msebor@redhat.com>2021-11-17 15:09:23 -0700
commitea9e0d6c27405d256b4888e9e860e469037c911d (patch)
treeacc04c95beb0bfed36eed47bb3a5131d09815bde /gcc/tree-loop-distribution.c
parent53a643f8568067d7700a9f2facc8ba39974973d3 (diff)
downloadgcc-ea9e0d6c27405d256b4888e9e860e469037c911d.zip
gcc-ea9e0d6c27405d256b4888e9e860e469037c911d.tar.gz
gcc-ea9e0d6c27405d256b4888e9e860e469037c911d.tar.bz2
Avoid pathological function redeclarations when checking access sizes [PR102759].
Resolves: PR tree-optimization/102759 - ICE: Segmentation fault in maybe_check_access_sizes since r12-2976-gb48d4e6818674898 gcc/ChangeLog: PR tree-optimization/102759 * gimple-array-bounds.cc (build_printable_array_type): Move... * gimple-ssa-warn-access.cc (build_printable_array_type): Avoid pathological function redeclarations that remove a previously declared prototype. Improve formatting of function arguments in informational notes. * pointer-query.cc (build_printable_array_type): ...to here. * pointer-query.h (build_printable_array_type): Declared. gcc/testsuite/ChangeLog: PR tree-optimization/102759 * gcc.dg/Warray-parameter-10.c: New test. * gcc.dg/Wstringop-overflow-82.c: New test.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions