diff options
author | David Malcolm <dmalcolm@redhat.com> | 2020-01-22 13:08:26 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2020-01-31 17:24:42 -0500 |
commit | 09bea5845a50189b093e7fa8d5b840da702197d4 (patch) | |
tree | 5e817797f3851e12dda366f127f2884d57473964 /gcc/fortran/resolve.c | |
parent | 2a07345c4f8dabc286fc470e76c53473e5bc3eb7 (diff) | |
download | gcc-09bea5845a50189b093e7fa8d5b840da702197d4.zip gcc-09bea5845a50189b093e7fa8d5b840da702197d4.tar.gz gcc-09bea5845a50189b093e7fa8d5b840da702197d4.tar.bz2 |
analyzer: fix ICE handling void-type (PR 93373)
gcc/analyzer/ChangeLog:
PR analyzer/93373
* region-model.cc (ASSERT_COMPAT_TYPES): Convert to...
(assert_compat_types): ...this, and bail when either type is NULL,
or when VOID_TYPE_P (dst_type).
(region_model::get_lvalue): Update for above conversion.
(region_model::get_rvalue): Likewise.
gcc/testsuite/ChangeLog:
PR analyzer/93373
* gcc.dg/analyzer/torture/pr93373.c: New test.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions