diff options
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index b811ec5..b7bf9ed 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -184,7 +184,7 @@ build_addr (tree exp, tree context) way the properties are for the ADDR_EXPR are computed properly. */ save_context = current_function_decl; current_function_decl = context; - retval = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (exp)), exp); + retval = build_fold_addr_expr (exp); current_function_decl = save_context; return retval; } |