Re: Support C2x [[]] attributes for C

2019-11-21 Thread Iain Sandoe
Joseph Myers wrote: On Mon, 18 Nov 2019, Joseph Myers wrote: On Sat, 16 Nov 2019, Iain Sandoe wrote: Joseph Myers wrote: This patch adds support for the C2x [[]] attribute syntax to the C front end. gcc.dg/gnu2x-attrs-1.c: New tests. This test fails on targets without symbol alias

Re: Support C2x [[]] attributes for C

2019-11-21 Thread Joseph Myers
On Mon, 18 Nov 2019, Joseph Myers wrote: > On Sat, 16 Nov 2019, Iain Sandoe wrote: > > > Joseph Myers wrote: > > > > > This patch adds support for the C2x [[]] attribute syntax to the C > > > front end. > > > > > gcc.dg/gnu2x-attrs-1.c: New tests. > > > > This test fails on targets

Re: Support C2x [[]] attributes for C

2019-11-18 Thread Joseph Myers
On Sat, 16 Nov 2019, Iain Sandoe wrote: > Joseph Myers wrote: > > > This patch adds support for the C2x [[]] attribute syntax to the C > > front end. > > > gcc.dg/gnu2x-attrs-1.c: New tests. > > This test fails on targets without symbol alias support, but it would > be most unfortunate

Re: Support C2x [[]] attributes for C

2019-11-16 Thread Iain Sandoe
Joseph Myers wrote: > This patch adds support for the C2x [[]] attribute syntax to the C > front end. > gcc.dg/gnu2x-attrs-1.c: New tests. This test fails on targets without symbol alias support, but it would be most unfortunate to skip it entirely with the usual dg-requires. In this

Support C2x [[]] attributes for C

2019-11-13 Thread Joseph Myers
This patch adds support for the C2x [[]] attribute syntax to the C front end. Support is only added for C at this point, not for Objective-C; I intend to add the unbounded lookahead required to support it for Objective-C in a followup patch, but maybe not in development stage 1. The syntax is