diff options
author | David Malcolm <dmalcolm@redhat.com> | 2020-08-27 07:42:27 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2020-09-01 10:56:34 -0400 |
commit | 49bfbf18c0bb9d83934f0ce765dc031ebfbda38e (patch) | |
tree | a5ffca38c6d890175030acbc6ce63fd4382097fc /gcc/builtins.c | |
parent | a292e31dac72c20cda3478b866ccf6e07dfad1a4 (diff) | |
download | gcc-49bfbf18c0bb9d83934f0ce765dc031ebfbda38e.zip gcc-49bfbf18c0bb9d83934f0ce765dc031ebfbda38e.tar.gz gcc-49bfbf18c0bb9d83934f0ce765dc031ebfbda38e.tar.bz2 |
analyzer: fix false NULL deref warning after previous deref [PR96792]
gcc/analyzer/ChangeLog:
PR analyzer/96792
* region-model.cc (region_model::deref_rvalue): Add the constraint
that PTR_SVAL is non-NULL.
gcc/testsuite/ChangeLog:
PR analyzer/96792
* gcc.dg/analyzer/pr96792.c: New test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions