aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-10-13 11:42:27 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-10-13 11:51:36 +0200
commit1506027347776a2f6ec5b92d56ef192e85944e2e (patch)
treec15092adf9cbd460511582b70e30bf0281c45ffe /gcc/tree-vectorizer.h
parent3269a722b7a03613e9c4e2862bc5088c4a17cc11 (diff)
downloadgcc-1506027347776a2f6ec5b92d56ef192e85944e2e.zip
gcc-1506027347776a2f6ec5b92d56ef192e85944e2e.tar.gz
gcc-1506027347776a2f6ec5b92d56ef192e85944e2e.tar.bz2
tree-optimization/116481 - avoid building function_type[]
The following avoids building an array type with function or method element type during diagnosing an array bound violation as this will result in an error, rejecting a program with a not too useful error message. Instead build such array type manually. PR tree-optimization/116481 * pointer-query.cc (build_printable_array_type): Build an array types with function or method element type manually to avoid bogus diagnostic. * gcc.dg/pr116481.c: New testcase.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions