Re: [PATCH][C++] Fix PR65091

2015-07-20 Thread Paolo Carlini
Hi, On 07/15/2015 04:12 PM, Jason Merrill wrote: On 07/14/2015 07:29 PM, Paolo Carlini wrote: I see. At the time I had this second try: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01232.html which has the action in cp_parser_unqualified_id but unfortunately is more complex. Certainly w

Re: [PATCH][C++] Fix PR65091

2015-07-15 Thread Jason Merrill
On 07/14/2015 07:29 PM, Paolo Carlini wrote: I see. At the time I had this second try: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01232.html which has the action in cp_parser_unqualified_id but unfortunately is more complex. Certainly we can't just return inconditionally error_mark_node

Re: [PATCH][C++] Fix PR65091

2015-07-14 Thread Paolo Carlini
Hi, On 07/14/2015 09:10 PM, Jason Merrill wrote: On 07/12/2015 01:53 PM, Paolo Carlini wrote: On 07/11/2015 09:46 PM, Paolo Carlini wrote: I'm going to ping this one too: a tad less trivial than the other one - a little explanation here or in a comment would definitely help - but certainly it

Re: [PATCH][C++] Fix PR65091

2015-07-14 Thread Jason Merrill
On 07/12/2015 01:53 PM, Paolo Carlini wrote: On 07/11/2015 09:46 PM, Paolo Carlini wrote: I'm going to ping this one too: a tad less trivial than the other one - a little explanation here or in a comment would definitely help - but certainly it looks much simpler than my own tries a while ago...

Re: [PATCH][C++] Fix PR65091

2015-07-12 Thread Paolo Carlini
On 07/11/2015 09:46 PM, Paolo Carlini wrote: Hi, I'm going to ping this one too: a tad less trivial than the other one - a little explanation here or in a comment would definitely help - but certainly it looks much simpler than my own tries a while ago... Regression testing information is als

Re: [PATCH][C++] Fix PR65091

2015-07-11 Thread Paolo Carlini
Hi, I'm going to ping this one too: a tad less trivial than the other one - a little explanation here or in a comment would definitely help - but certainly it looks much simpler than my own tries a while ago... Regression testing information is also missing. Thanks, Paolo. On 02/21/2015 01:

[PATCH][C++] Fix PR65091

2015-02-21 Thread Andrea Azzarone
Hi all, please find attached a fix for pr 65071 "decltype(~arg) fails for template functions". Basically we need to make sure that ~arg is considered an expression and not a dtor. 2015-02-21 Andrea Azzarone PR c++/65091 * parser.c (cp_parser_decltype_expr): Make sure ~id is treated as an exp