https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016

--- Comment #48 from qinzhao at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #30)
> Then perhaps we should ASAP change 
> handle_counted_by_attribute so that it emits a sorry message if
> (c_dialect_cxx ()),
> either as the first thing, or perhaps after doing the current diagnostics.

agreed, and a patch is under testing now, will submit for review soon.

Reply via email to