diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-03-27 18:26:51 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-03-27 18:26:51 -0400 |
commit | fdd59818e2abf6043f4d45aeb157e95956c71088 (patch) | |
tree | bd79c8d9da3e4b0fae6c44766e16c4f670db2ca9 /contrib | |
parent | f89c83aa139521804241d21e006557ac5a421f51 (diff) |
analyzer: fix ICE due to type mismatch when replaying call summary [PR114473]
gcc/analyzer/ChangeLog:
PR analyzer/114473
* call-summary.cc
(call_summary_replay::convert_svalue_from_summary): Assert that
the types match.
(call_summary_replay::convert_region_from_summary): Likewise.
(call_summary_replay::convert_region_from_summary_1): Add missing
cast for the deref of RK_SYMBOLIC case.
gcc/testsuite/ChangeLog:
PR analyzer/114473
* gcc.dg/analyzer/call-summaries-pr114473.c: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions