* call.c (initialize_reference): Fix typo.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Mar 2004 17:46:26 +0000 (17:46 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Mar 2004 17:46:26 +0000 (17:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79191 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/call.c

index 5c40c57..eefa1e7 100644 (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
index e371d30..b43efcd 100644 (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.  */