From: gdr Date: Fri, 11 Oct 2002 19:52:10 +0000 (+0000) Subject: Move ChangeLog entry where it belongs X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=6ff8d0b2a61ad078850ee8f286ec241f19df1997 Move ChangeLog entry where it belongs git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58059 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8330920785c..da1b3f54a5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2367,15 +2367,6 @@ Tue Sep 17 13:40:13 2002 Nicola Pero * config/h8300/h8300.c (h8300_init_once): Fix formatting. -2002-09-13 Matt Austern - - * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p. - * cp/call.c: Change call-by-const-reference mechanism to use - non_cast_lvalue_p when deciding whether the create a temporary. - We need a temporary when passing, e.g. (long) x by const ref. - * testsuite/g++.dg/other/constref[12].C: New, regression tests for - passing a cast expression to a function by const reference. - 2002-09-13 Richard Henderson * config/alpha/alpha.md (attr type): Add callpal. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 200bc393775..3246ea23705 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -390,6 +390,14 @@ * typeck.c: Likewise. * typeck2.c: Likewise. +2002-09-13 Matt Austern + + PR C++/7828 + * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p. + * cp/call.c: Change call-by-const-reference mechanism to use + non_cast_lvalue_p when deciding whether the create a temporary. + We need a temporary when passing, e.g. (long) x by const ref. + 2002-09-13 Nathan Sidwell * pt.c (unify, ARRAY_TYPE): Element type can be more qualified. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4fbef9b2fad..882e0227acc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -348,6 +348,11 @@ Tue Sep 17 13:59:45 2002 Nicola Pero * gcc.c-torture/execute/struct-cpy-1.c: New test. +2002-09-13 Matt Austern + + * testsuite/g++.dg/other/constref[12].C: New, regression tests for + passing a cast expression to a function by const reference. + 2002-09-13 Nathan Sidwell * g++.dg/template/deduce1.C: New test.