aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorTejas Belagod <tejas.belagod@arm.com>2024-09-05 14:35:59 +0530
committerTejas Belagod <tejas.belagod@arm.com>2024-11-29 17:01:29 +0530
commit47fa008ad880c115bce4007fe9808e48b0dcf859 (patch)
treef9e05913e9b3db2386f33048128dadbfae8ef291 /gcc/tree-cfg.cc
parent761cf60218890af31cfb4a4cebc4509d3262a9bb (diff)
downloadgcc-47fa008ad880c115bce4007fe9808e48b0dcf859.zip
gcc-47fa008ad880c115bce4007fe9808e48b0dcf859.tar.gz
gcc-47fa008ad880c115bce4007fe9808e48b0dcf859.tar.bz2
c: Range-check indexing of SVE ACLE vectors
This patch adds a check for non-GNU vectors to warn that the index is outside the range of a fixed vector size. For VLA vectors, we don't diagnose. gcc/c-family/ChangeLog: * c-common.cc (convert_vector_to_array_for_subscript): Add range-check for target vector types.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions