Re: [C++ Patch] PR 72800

2016-08-04 Thread Jason Merrill
OK. On Thu, Aug 4, 2016 at 1:02 PM, Paolo Carlini wrote: > Hi, > > when back in 2014 I sent the patch for c++/61088 I noticed some cases where > we wanted to return early error_mark_node from add_capture to avoid ICEs > during error recovery when COMPLETE_TYPE_P is used on an error_mark_node. > T

[C++ Patch] PR 72800

2016-08-04 Thread Paolo Carlini
Hi, when back in 2014 I sent the patch for c++/61088 I noticed some cases where we wanted to return early error_mark_node from add_capture to avoid ICEs during error recovery when COMPLETE_TYPE_P is used on an error_mark_node. The new testcase noticed one additional case, where the error_mark