This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] Remove cp_parser_parameter_declaration_list parameter


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.
>
> ////////////////////
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]