diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-11-21 19:08:18 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-11-21 19:08:18 -0500 |
commit | 4e4e45a4fd341174d8231ee6a99e6fe308904f8f (patch) | |
tree | 1b47f274aa930a4fec319845b4d56bea26fd6c12 /libcpp | |
parent | 12a4785c9120beeef42f1bded52cc2674e206f57 (diff) | |
download | gcc-4e4e45a4fd341174d8231ee6a99e6fe308904f8f.zip gcc-4e4e45a4fd341174d8231ee6a99e6fe308904f8f.tar.gz gcc-4e4e45a4fd341174d8231ee6a99e6fe308904f8f.tar.bz2 |
analyzer: fix ICE on 'bind' that returns a struct [PR107788]
gcc/analyzer/ChangeLog:
PR analyzer/107788
* region-model.cc (region_model::update_for_int_cst_return):
Require that the return type be an integer type.
(region_model::update_for_nonzero_return): Likewise.
gcc/testsuite/ChangeLog:
PR analyzer/107788
* g++.dg/analyzer/fd-bind-pr107783.C: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions