This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix bug 160
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 21 Dec 2001 11:21:12 -0800
- Subject: Re: [C++ PATCH] Fix bug 160
--On Friday, December 21, 2001 12:46:06 PM +0000 Nathan Sidwell
<nathan@codesourcery.com> wrote:
> Hi,
> this fixes bug 160 where we incorrectly initialized a reference member
> to a temporary, rather then the object we should have. build_modify_expr
> had a remarkable amount of cruft in it, which I've removed and tidied up.
Ugh.
This patch is OK, but please keep an eye out for any problems that
might arise in the wake of this. All this initialization stuff remains
something of a mess.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com