On 01/10/2018 06:50 PM, Paolo Carlini wrote:
thus the below is a rather "dull" solution at the level of cplus_decl_attributes itself: cp_check_const_attributes is tweaked to check for error_mark_node at each outer iteration
This shouldn't be necessary; we should have returned error_mark_node for the attribute list rather than append it to something else, in which case the existing check for attributes == error_mark_node would have done the job.
Jason