Re: Make more bad uses of fallthrough attribute into pedwarns

2019-11-21 Thread Jeff Law
On 11/20/19 4:15 PM, Joseph Myers wrote: > Various bad uses of the [[fallthrough]] attribute are constraint > violations in C2x, so need pedwarns rather than warnings. > > This patch duly turns the relevant warnings into pedwarns. The > relevant code is not specific to C, and does not know which

Re: Make more bad uses of fallthrough attribute into pedwarns

2019-11-20 Thread Marek Polacek
On Wed, Nov 20, 2019 at 11:15:56PM +, Joseph Myers wrote: > Various bad uses of the [[fallthrough]] attribute are constraint > violations in C2x, so need pedwarns rather than warnings. > > This patch duly turns the relevant warnings into pedwarns. The > relevant code is not specific to C, and