Re: C2x features status

2022-10-21 Thread Joseph Myers
On Fri, 21 Oct 2022, Florian Weimer wrote: > > while typeof was enabled by default for -std=gnu* anyway > > in previous releases so is a lower risk. > > Do the semantics of typeof change to align with C++, so that typeof > (int) becomes invalid? No. Both typeof (expr) and typeof (type) are val

Re: C2x features status

2022-10-21 Thread Florian Weimer via Gcc
* Joseph Myers: > On Fri, 21 Oct 2022, Florian Weimer via Gcc wrote: > >> Do you have a list of C2X features that are likely to impact autoconf >> tests? Or planned changes in the GCC 13 and 14 default language modes >> that reject constructs previous accepted as an extension? > > I think by far

Re: C2x features status

2022-10-21 Thread Joseph Myers
On Fri, 21 Oct 2022, Florian Weimer via Gcc wrote: > Do you have a list of C2X features that are likely to impact autoconf > tests? Or planned changes in the GCC 13 and 14 default language modes > that reject constructs previous accepted as an extension? I think by far the biggest risk - for bui

Re: C2x features status

2022-10-21 Thread Arsen Arsenović via Gcc
On Friday, 21 October 2022 21:55:53 CEST Florian Weimer wrote: > That's the implicit function declaration/implicit int change. This > won't happen in GCC 13, it's too late for that. I tried to make this > change a couple of years in Fedora, and just flipping the compiler > flag Does Not Work. I

Re: C2x features status

2022-10-21 Thread Arsen Arsenović via Gcc
On Friday, 21 October 2022 21:14:54 CEST Marek Polacek via Gcc wrote: > commit 0a91bdaf177409a2a5e7895bce4f0e7091b4b3ca > Author: Joseph Myers > Date: Wed Sep 7 13:56:25 2022 + > > c: New C2x keywords > > which says: > > As with the removal of unprototyped functions, this change h

Re: C2x features status

2022-10-21 Thread Florian Weimer via Gcc
* Arsen Arsenović: > On Friday, 21 October 2022 21:14:54 CEST Marek Polacek via Gcc wrote: >> commit 0a91bdaf177409a2a5e7895bce4f0e7091b4b3ca >> Author: Joseph Myers >> Date: Wed Sep 7 13:56:25 2022 + >> >> c: New C2x keywords >> >> which says: >> >> As with the removal of unprot

Re: C2x features status

2022-10-21 Thread Marek Polacek via Gcc
On Fri, Oct 21, 2022 at 08:31:09PM +0200, Florian Weimer via Gcc wrote: > * Joseph Myers: > > > I'm working on adding various C2x features to the C front end (and > > elsewhere in GCC as applicable). > > > > I suspect I won't get all the C2x features done for GCC 13. If anyone > > else is inter

Re: C2x features status

2022-10-21 Thread Florian Weimer via Gcc
* Joseph Myers: > I'm working on adding various C2x features to the C front end (and > elsewhere in GCC as applicable). > > I suspect I won't get all the C2x features done for GCC 13. If anyone > else is interested in adding C2x features, I'd encourage looking at some > of the following, which