* call.c (initialize_reference): Fix typo.

From-SVN: r79191
This commit is contained in:
Mark Mitchell 2004-03-09 17:46:26 +00:00 committed by Mark Mitchell
parent 7ce3e360d6
commit 205b4f1d48
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-09 Mark Mitchell <mark@codesourcery.com>
* call.c (initialize_reference): Fix typo.
2004-03-09 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14409

View File

@ -6471,7 +6471,7 @@ initialize_reference (tree type, tree expr, tree decl, tree *cleanup)
TARGET_EXPR below since otherwise the INIT_EXPR will
attempt to make a bitwise copy of EXPR to intialize
VAR. */
if (TREE_CODE (init) != TARGET_EXPR)
if (TREE_CODE (expr) != TARGET_EXPR)
expr = get_target_expr (expr);
/* Create the INIT_EXPR that will initialize the temporary
variable. */