Re: C++ PATCH for c++/91673 - ICE with noexcept in alias-declaration

2019-09-10 Thread Jason Merrill
On 9/10/19 1:25 PM, Marek Polacek wrote: @@ -21870,10 +21873,16 @@ cp_parser_type_id_1 (cp_parser *parser, cp_parser_flags flags, /* There might or might not be an abstract declarator. */ cp_parser_parse_tentatively (parser); + /* Reset the flags, but remember if we should perform del

Re: C++ PATCH for c++/91673 - ICE with noexcept in alias-declaration

2019-09-10 Thread Marek Polacek
On Mon, Sep 09, 2019 at 04:56:18PM -0400, Jason Merrill wrote: > On 9/7/19 3:37 PM, Marek Polacek wrote: > > * parser.c (CP_PARSER_FLAGS_NO_DELAY_NOEXCEPT): New parser flag. > > Is it feasible to reverse this, and specifically delay parsing of > noexcept-specifications on member function decla

Re: C++ PATCH for c++/91673 - ICE with noexcept in alias-declaration

2019-09-09 Thread Jason Merrill
On 9/7/19 3:37 PM, Marek Polacek wrote: * parser.c (CP_PARSER_FLAGS_NO_DELAY_NOEXCEPT): New parser flag. Is it feasible to reverse this, and specifically delay parsing of noexcept-specifications on member function declarations? When else would we want it? Jason