This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch/RFC] PR 58753 & 58930
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>
- Date: Thu, 15 May 2014 22:23:26 +0200
- Subject: Re: [C++ Patch/RFC] PR 58753 & 58930
- Authentication-results: sourceware.org; auth=none
- References: <5374C501 dot 7040107 at oracle dot com>
.. in case it would be useful to better analyze the issue and my
tentative fix, I ran the C++ and C++ runtime testsuite with an
appropriate gcc_assert, and the added DIRECT_LIST_INIT_P (init) case
matters only for the existing cpp1y/pr58708.C (besides the new
testcases, of course).
Also, in case it wasn't obvious in the other message, comparing
c++/58930 as-is to the non-template version, it's clear that with the
patchlet applied, both lead to similar TARGET_EXPRs from the initial
CONSTRUCTOR produced by cp_parser_initializer.
Paolo.