diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-07-07 11:05:27 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-07-08 12:39:26 +0100 |
commit | 444bb5b818315d278914df10dc1c5c650bae6946 (patch) | |
tree | bfdd66e989a5c953bcc71432b0891485daee16bf /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 33eb5c938ac41ff5e65c3a8d947d033b32d31ace (diff) | |
download | gcc-444bb5b818315d278914df10dc1c5c650bae6946.zip gcc-444bb5b818315d278914df10dc1c5c650bae6946.tar.gz gcc-444bb5b818315d278914df10dc1c5c650bae6946.tar.bz2 |
Fix nullptr deref on HIR::Function
The clone interface on HIR::Functions can have an optional nullptr return
type which was always being derefed for the clone interface. This seems
to trigger when compiling with gcc-4.8 but not on modern GCC versions.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions