diff options
Diffstat (limited to 'gcc/ipa-ref-inline.h')
-rw-r--r-- | gcc/ipa-ref-inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-ref-inline.h b/gcc/ipa-ref-inline.h index 636af14..575bba9 100644 --- a/gcc/ipa-ref-inline.h +++ b/gcc/ipa-ref-inline.h @@ -73,7 +73,7 @@ ipa_ref_list_first_reference (struct ipa_ref_list *list) { if (!VEC_length (ipa_ref_t, list->references)) return NULL; - return VEC_index (ipa_ref_t, list->references, 0); + return &VEC_index (ipa_ref_t, list->references, 0); } /* Return first referring ref in LIST or NULL if empty. */ |