diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-01-01 19:25:40 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-01-02 17:46:12 +0100 |
| commit | be8017fdf5eb8e58fd37e576eae7b021232ac57b (patch) | |
| tree | 541393fd73130745d8d1a2d4b463052751982a7a /memops.c | |
| parent | 5826deab5956e5090ca73da7ec1cf8b8716780ad (diff) | |
| download | sparse-dev-be8017fdf5eb8e58fd37e576eae7b021232ac57b.tar.gz | |
fix: dereference null-type
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'memops.c')
| -rw-r--r-- | memops.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -160,6 +160,8 @@ static void kill_dominated_stores(struct basic_block *bb) pseudo_t pseudo = insn->src; int local; + if (!insn->type) + continue; if (insn->type->ctype.modifiers & MOD_VOLATILE) continue; |
