OK.
On Thu, Aug 4, 2016 at 1:02 PM, Paolo Carlini <paolo.carl...@oracle.com> 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. > The new testcase noticed one additional case, where the error_mark_node is > returned by lambda_capture_field_type. I propose to just immediately check > it. Alternately we could add the check to the else branch of the following > conditional (which also passes testing) or somewhere else too, I guess. > Tested x86_64-linux. > > Thanks, > > Paolo. > > //////////////////////// >