aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/call.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/call.cc')
-rw-r--r--gcc/cp/call.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc
index 81b104f..ae0decd 100644
--- a/gcc/cp/call.cc
+++ b/gcc/cp/call.cc
@@ -8578,8 +8578,6 @@ convert_like_internal (conversion *convs, tree expr, tree fn, int argnum,
array = finish_compound_literal (array, new_ctor, complain);
/* This is dubious now, should be blessed by P2752. */
DECL_MERGEABLE (TARGET_EXPR_SLOT (array)) = true;
- /* Take the address explicitly rather than via decay_conversion
- to avoid the error about taking the address of a temporary. */
array = cp_build_addr_expr (array, complain);
}
else