Re: [PATCH] c++: Attribute deprecated/unavailable divergence

2022-03-08 Thread Jason Merrill via Gcc-patches
On 3/2/22 14:31, Marek Polacek wrote: Attributes deprecated and unavailable are largely the same, except that the former produces a warning whereas the latter produces an error. So is_late_template_attribute should treat them the same. Confirmed by Iain that this divergence is not intentional: <

[PATCH] c++: Attribute deprecated/unavailable divergence

2022-03-02 Thread Marek Polacek via Gcc-patches
Attributes deprecated and unavailable are largely the same, except that the former produces a warning whereas the latter produces an error. So is_late_template_attribute should treat them the same. Confirmed by Iain that this divergence is not intentional: