diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-03-09 17:46:26 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-03-09 17:46:26 +0000 |
commit | 205b4f1d480c1604a2ad81d92121065679980d12 (patch) | |
tree | 42814bafb40d6b034ef19aaa6d263faae6ee6629 /gcc | |
parent | 7ce3e360d677bac3834870166daa19102354f97d (diff) | |
download | gcc-205b4f1d480c1604a2ad81d92121065679980d12.zip gcc-205b4f1d480c1604a2ad81d92121065679980d12.tar.gz gcc-205b4f1d480c1604a2ad81d92121065679980d12.tar.bz2 |
* call.c (initialize_reference): Fix typo.
From-SVN: r79191
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/call.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5c40c57..eefa1e7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index e371d30..b43efcd 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -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. */ |