diff options
Diffstat (limited to 'gcc/c-family/c-pragma.c')
-rw-r--r-- | gcc/c-family/c-pragma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c index 1656000d978..752a40d8e77 100644 --- a/gcc/c-family/c-pragma.c +++ b/gcc/c-family/c-pragma.c @@ -322,7 +322,7 @@ maybe_apply_pending_pragma_weaks (void) target = symtab_node_for_asm (id); decl = build_decl (UNKNOWN_LOCATION, - target ? TREE_CODE (target->symbol.decl) : FUNCTION_DECL, + target ? TREE_CODE (target->decl) : FUNCTION_DECL, alias_id, default_function_type); DECL_ARTIFICIAL (decl) = 1; |