Re: [C2x] Disallow function attributes after function identifier

2022-06-11 Thread Alejandro Colomar via Gcc
Hi Jonathan, On 6/11/22 00:47, Jonathan Wakely wrote: Well, I'd argue the same reasons to remove it from C++.  Don't know how useful that feature is for C++, though.  I bet not much, but am not an expert in the language. It's used in libstdc++ because I couldn't get an attribute to

[no subject]

2022-06-11 Thread Roméo Dansou via Gcc

Re: [C2x] Disallow function attributes after function identifier

2022-06-11 Thread Gabriel Ravier via Gcc
On 6/11/22 11:03, Alejandro Colomar via Gcc wrote: > Hi Jonathan, > > On 6/11/22 00:47, Jonathan Wakely wrote: >> Well, I'd argue the same reasons to remove it from C++.  Don't know how >> useful that feature is for C++, though.  I bet not much, but am not an >> expert in the langua

Re: [C2x] Disallow function attributes after function identifier

2022-06-11 Thread Jonathan Wakely via Gcc
On Sat, 11 Jun 2022, 10:00 Alejandro Colomar, wrote: > Hi Jonathan, > > On 6/11/22 00:47, Jonathan Wakely wrote: > > Well, I'd argue the same reasons to remove it from C++. Don't know > how > > useful that feature is for C++, though. I bet not much, but am not > an > > expert in the

Re: [C2x] Disallow function attributes after function identifier

2022-06-11 Thread Alejandro Colomar via Gcc
On 6/11/22 14:08, Gabriel Ravier wrote: > Do we want to add a completely unnecessary feature, just for symmetry with C++, even if it poses a danger of breaking (both human and script) readability of function declarations/definitions, especially when hidden in macros? I actually don't get th

gcc-12-20220611 is now available

2022-06-11 Thread GCC Administrator via Gcc
Snapshot gcc-12-20220611 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20220611/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: [RFC] Support for nonzero attribute

2022-06-11 Thread Prathamesh Kulkarni via Gcc
On Mon, 6 Jun 2022 at 01:39, Miika via Gcc wrote: > > Based on Jakub's and Yair's comments I created a new attribute "inrange". > Inrage takes three arguments, pos min and max. > Pos being the argument position in the function, and min and max defines the > range of valid integer. Both min and max