On Tue, 18 Mar 2025, Jakub Jelinek wrote:

> On Mon, Mar 17, 2025 at 06:38:34PM +0100, Jakub Jelinek wrote:
> > Anyway, below is a patch which accepts all kinds of
> > ordering and mixing of standard and GNU attributes at the start of
> > statements (for C++).
> 
> Bootstraps/regtests (on x86_64-linux and i686-linux) found a regression
> on attr-fallthrough-2.c, we no longer for C++
> attr-fallthrough-2.c:24:3: error: expected primary-expression before 'case'
> but
> attr-fallthrough-2.c:24:9: warning: 'unused' attribute ignored [-Wattributes]
> 
> Here is updated patch which adjusts that testcase.

The C changes are OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to