mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-26 15:04:59 +08:00
Fix typo in previous patch
From-SVN: r63912
This commit is contained in:
parent
5e2569964b
commit
d1867128b2
@ -5848,7 +5848,6 @@ tree
|
||||
initialize_reference (tree type, tree expr, tree decl)
|
||||
{
|
||||
tree conv;
|
||||
bool ref_bound_directly_to_rvalue_p = false;
|
||||
|
||||
if (type == error_mark_node || error_operand_p (expr))
|
||||
return error_mark_node;
|
||||
@ -5877,7 +5876,7 @@ initialize_reference (tree type, tree expr, tree decl)
|
||||
In that case, we store the converted expression into a new
|
||||
VAR_DECL in a new scope. */
|
||||
my_friendly_assert (TREE_CODE (conv) == REF_BIND, 20030302);
|
||||
if (decl && (NEED_TEMPORARY_P (conv) || ref_bound_directly_to_rvalue_p))
|
||||
if (decl && NEED_TEMPORARY_P (conv))
|
||||
{
|
||||
tree var;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user