Re: [C++ Patch] PR 79361

2017-02-23 Thread Jason Merrill
Ok. On Thu, Feb 23, 2017 at 6:02 AM, Paolo Carlini wrote: > Hi, > > in this error recovery regression, we ICE after (a lot after) a sensible > diagnostic, when lower_function_body encounters an error_mark_node. I worked > quite a bit on the issue, and, all in all, I

[C++ Patch] PR 79361

2017-02-23 Thread Paolo Carlini
Hi, in this error recovery regression, we ICE after (a lot after) a sensible diagnostic, when lower_function_body encounters an error_mark_node. I worked quite a bit on the issue, and, all in all, I propose to simply check the return value of duplicate_decls as called by