diff options
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r-- | gcc/cp/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c index af79984..c31333e 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -685,7 +685,7 @@ standard_conversion (to, from, expr) fcode = TREE_CODE (from); conv = build_conv (LVALUE_CONV, from, conv); } - else if (fromref || (expr && real_lvalue_p (expr))) + else if (fromref || (expr && lvalue_p (expr))) conv = build_conv (RVALUE_CONV, from, conv); /* Allow conversion between `__complex__' data types */ |