This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 44628
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Wed, 30 Jun 2010 22:49:09 +0200
- Subject: Re: [C++ Patch] PR 44628
- References: <4C2B8E61.90807@oracle.com>
On Wed, Jun 30, 2010 at 8:35 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> a simple patch for this P2 regression. As for the rationale behind the
> additional checks: the one in cp_build_unary_op seems rather sensible
> considering how many uses the function has; the other is justified
> because in the caller, reference_binding, expr can be certainly
> NULL_TREE in general (we already check for expr non-NULL_TREE in many
> places).
>
> Tested x86_64-linux. Ok for mainline and 4_5-branch?
The trunk was frozen when you committed this patch.
Thanks,
Richard.
> Paolo.
>
> ////////////////////
>