diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-08-25 08:41:19 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-08-25 08:41:19 -0400 |
commit | 99a3fcb8ff0bf27407c525415384372189e2c3cc (patch) | |
tree | 9b2e2f6ad08def30ba6db712e6c2b3e09e6231ef /gcc/ordered-hash-map-tests.cc | |
parent | 845ee9c7107956845e487cb123fa581d9c70ea1b (diff) | |
download | gcc-99a3fcb8ff0bf27407c525415384372189e2c3cc.zip gcc-99a3fcb8ff0bf27407c525415384372189e2c3cc.tar.gz gcc-99a3fcb8ff0bf27407c525415384372189e2c3cc.tar.bz2 |
analyzer: fix ICE in text art strings support
gcc/analyzer/ChangeLog:
* access-diagram.cc (class string_region_spatial_item): Remove
assumption that the string is written to the start of the cluster.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/out-of-bounds-diagram-17.c: New test.
* gcc.dg/analyzer/out-of-bounds-diagram-18.c: New test.
* gcc.dg/analyzer/out-of-bounds-diagram-19.c: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/ordered-hash-map-tests.cc')
0 files changed, 0 insertions, 0 deletions