diff options
| author | David Faust <david.faust@oracle.com> | 2021-12-07 11:45:48 -0800 |
|---|---|---|
| committer | David Faust <david.faust@oracle.com> | 2021-12-08 10:36:30 -0800 |
| commit | e4c2b55b4cefc574a4c2b0b06928220edb9b3f2c (patch) | |
| tree | ad9029f6cb5967ab0e6ccb2ced62c48b949de829 /libcpp/generated_cpp_wcwidth.h | |
| parent | 5f7cdea34e118776d0ccd2ff3dda0f5acab18a94 (diff) | |
| download | gcc-e4c2b55b4cefc574a4c2b0b06928220edb9b3f2c.zip gcc-e4c2b55b4cefc574a4c2b0b06928220edb9b3f2c.tar.gz gcc-e4c2b55b4cefc574a4c2b0b06928220edb9b3f2c.tar.bz2 | |
bpf: avoid potential NULL pointer dereference
If the result from SSA_NAME_DEF_STMT is NULL, we could try to
dereference it anyway and ICE. Avoid this.
gcc/ChangeLog:
* config/bpf/bpf.c (handle_attr_preserve): Avoid calling
is_gimple_assign with a NULL pointer.
Diffstat (limited to 'libcpp/generated_cpp_wcwidth.h')
0 files changed, 0 insertions, 0 deletions
