diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-21 15:24:54 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-21 15:24:54 +0000 |
commit | 4f7c08fb671a3d0d851a060e331ea181c2e6fbc3 (patch) | |
tree | 66cc68dfac6716fa6f235ac49f9be49e8b74477a /gcc/tree-flow-inline.h | |
parent | bacbfab613983ca7ebee04236570c7933cbe307f (diff) | |
download | gcc-4f7c08fb671a3d0d851a060e331ea181c2e6fbc3.tar.gz |
* tree-flow-inline.h (num_immediate_uses): Don't abort if DF
is NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82099 138bc75d-0d04-0410-961f-82ee72b054a4
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 (); |