aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-10-24 16:40:00 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2022-10-24 16:40:48 -0400
commit2e8a0553918adc919f98ac5c0224fc6ce1fef68d (patch)
tree14ccc8ffe33c3b890a8b1b31d16d25184096dc8d /gcc/expr.cc
parent18faaeb3af42f3d7dc609b9b91df77d0d59b16f6 (diff)
downloadgcc-2e8a0553918adc919f98ac5c0224fc6ce1fef68d.zip
gcc-2e8a0553918adc919f98ac5c0224fc6ce1fef68d.tar.gz
gcc-2e8a0553918adc919f98ac5c0224fc6ce1fef68d.tar.bz2
diagnostics: fix ICE in sarif output with NULL filename [PR107366]
gcc/ChangeLog: PR analyzer/107366 * diagnostic-format-sarif.cc (sarif_builder::maybe_make_physical_location_object): Gracefully reject locations with NULL filename. gcc/testsuite/ChangeLog: PR analyzer/107366 * gcc.dg/analyzer/sarif-pr107366.c: New test. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions