diff options
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 3505b0c4f19..be997d08499 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -295,6 +295,9 @@ num_immediate_uses (dataflow_t df) static inline tree immediate_use (dataflow_t df, int num) { + if (!df) + return NULL_TREE; + #ifdef ENABLE_CHECKING if (num >= num_immediate_uses (df)) abort (); |