summaryrefslogtreecommitdiffstats
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 6e7bbfe7ef7..33c19da6d0a 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -1715,7 +1715,7 @@ build_external_ref (tree id, int fun)
{
tree ref;
tree decl = lookup_name (id);
- tree objc_ivar = lookup_objc_ivar (id);
+ tree objc_ivar = objc_lookup_ivar (id);
if (decl && decl != error_mark_node)
{
OpenPOWER on IntegriCloud