aboutsummaryrefslogtreecommitdiff
path: root/gcc/halfpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/halfpic.c')
-rw-r--r--gcc/halfpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/halfpic.c b/gcc/halfpic.c
index 77c392f..f691ce3 100644
--- a/gcc/halfpic.c
+++ b/gcc/halfpic.c
@@ -225,7 +225,7 @@ half_pic_encode (decl)
#endif
/* If this is not an external reference, it can't be half-pic. */
- if (!TREE_EXTERNAL (decl) && (code != VAR_DECL || !TREE_PUBLIC (decl)))
+ if (!DECL_EXTERNAL (decl) && (code != VAR_DECL || !TREE_PUBLIC (decl)))
return;
ptr = half_pic_hash (IDENTIFIER_POINTER (asm_name),