This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: Yet another whack at references


Hi,

On Fri, 7 Mar 2003, Mark Mitchell wrote:

> Anyhow, here's another go, fixing the extra copy problem Jason
> discovered yesterday.

Cool.  This also fixes the testcase with the abstract base I posted.  Many
thanks.  I noticed just one thing in the actual committed state of the 3.3
branch, namely the ChangeLog entry (I only saw it because I manyally
copied it to a different version of GCC ;) ), which there looks like:

        * call.c (reference_binding): Remove REF_IS_VAR parameter.
        (implicit_conversion): Adjust call to reference_binding.
        (make_temporary_var_for_ref_to_type): Add TYPE parameter.
        (initialize_reference): Adjust handling for references bound to
        rvalues.
        * cp-tree.h (make_temporary_var_for_ref_to_temp): Change
        prototype.
        (real_non_cast_lvalue_p): New method.
        * cvt.c (build_up_reference): Adjust use of
        make_temporary_var_for_ref_to_temp.
        * tree.c (

Note the apparent cut-off at the last line.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]