diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-12-14 16:03:30 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-12-14 16:03:30 -0500 |
commit | 41faa1d7beb90b235858c8a692be926642ad5559 (patch) | |
tree | 35b04523e042c0855bde19207794f054c28e1a31 /include/ChangeLog | |
parent | 70b303049e45c180236a4114f844311652bad002 (diff) | |
download | gcc-41faa1d7beb90b235858c8a692be926642ad5559.tar.gz |
analyzer: don't call binding_key::make on empty regions [PR108065]
gcc/analyzer/ChangeLog:
PR analyzer/108065
* region.cc (decl_region::get_svalue_for_initializer): Bail out to
avoid calling binding_key::make with an empty region.
* store.cc (binding_map::apply_ctor_val_to_range): Likewise.
(binding_map::apply_ctor_pair_to_child_region): Likewise.
(binding_cluster::bind): Likewise.
(binding_cluster::purge_region): Likewise.
(binding_cluster::maybe_get_compound_binding): Likewise.
(binding_cluster::maybe_get_simple_value): Likewise.
gcc/testsuite/ChangeLog:
PR analyzer/108065
* gfortran.dg/analyzer/pr108065.f90: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'include/ChangeLog')
0 files changed, 0 insertions, 0 deletions