aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/ia64/ia64.c')
-rw-r--r--gcc/config/ia64/ia64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 68bbbc87756..10f06665999 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -8141,13 +8141,14 @@ ia64_hpux_asm_file_end (file)
{
while (extern_func_head)
{
- char *real_name;
+ const char *real_name;
tree decl;
real_name = (* targetm.strip_name_encoding) (extern_func_head->name);
- tree decl = maybe_get_identifier (real_name);
+ decl = maybe_get_identifier (real_name);
- if (!decl || ! TREE_ASM_WRITTEN (decl) && TREE_SYMBOL_REFERENCED (decl))
+ if (!decl
+ || (! TREE_ASM_WRITTEN (decl) && TREE_SYMBOL_REFERENCED (decl)))
{
if (decl)
TREE_ASM_WRITTEN (decl) = 1;