This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PR 54197: lifetime of reference not properly extended
On Thu, Aug 16, 2012 at 12:12 PM, Diego Novillo <dnovillo@google.com> wrote:
>
> I wonder if it wouldn't make more sense to iterate until we find the
> rightmost element in a compound_expr chain, but I don't think they are
> neither common nor long enough to matter.
Yeah, that was my thinking. I can certainly do whatever the maintainers want.
> It looks like a good fix, but I would rather have a C++ maintainer
> give final approval for gcc-4_7-branch and trunk. In the meantime,
> should we install it in google/gcc-4_7? I can deal with any merge
> conflicts, in case the patch needs more work for the upstream
> branches.
I'll go ahead and submit to google/gcc-4_7, then.
Thanks,
Ollie