This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Remove cp_parser_parameter_declaration_list parameter
- From: Jason Merrill <jason at redhat 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>
- Date: Mon, 21 May 2018 16:34:49 -0400
- Subject: Re: [C++ Patch] Remove cp_parser_parameter_declaration_list parameter
- References: <eb5b718a-5426-4ac2-5a0c-810d65eb51c0@oracle.com>
OK.
On Mon, May 21, 2018 at 3:47 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> I noticed a few days ago that the second parameter of the function is
> redundant, we can just rely on the return value possibly being
> error_mark_node (I even ran the testsuite with the function instrumented
> with a gcc_assert (*is_error == (parameters == error_mark_node); immediately
> before the return, at some point). Tested x86_64-linux.
>
> Thanks, Paolo.
>
> ////////////////////
>