This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/83714, ICE checking return from template
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 17 Jan 2018 21:46:34 +0100
- Subject: Re: C++ PATCH for c++/83714, ICE checking return from template
- Authentication-results: sourceware.org; auth=none
- References: <CADzB+2=XTCw7fZ6x3nnEtVHu9CpaeAnK72ZWFPKWho_+AZ3FFw@mail.gmail.com>
Hi Jason,
On 17/01/2018 00:04, Jason Merrill wrote:
Like my recent patch for 83186, we were missing a build_non_dependent_expr.
Tested x86_64-pc-linux-gnu, applying to trunk.
Lately I'm seeing (H.J. Lu too) a regression:
FAIL: g++.dg/template/inherit4.C -std=c++11 (test for excess errors)
FAIL: g++.dg/template/inherit4.C -std=c++14 (test for excess errors)
which seems related to this change of yours: if I comment out the new
build_non_dependent_expr call the test is accepted again. Could you
please have a look?
Thanks!
Paolo.