Fix 'libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_get_property-gcn.c' for C23 default (was: [committed] c: Default to -std=gnu23)

2024-11-28 Thread Thomas Schwinge
Hi! On 2024-11-15T23:46:47+, Joseph Myers wrote: > Change the default language version for C compilation from -std=gnu17 > to -std=gnu23. Wow, that came quickly. > A few tests are updated to remove local definitions of > bool, true and false (where making such an unconditional test change

RE: [committed] c: Default to -std=gnu23

2024-11-25 Thread Joseph Myers
On Mon, 25 Nov 2024, Jiang, Haochen wrote: > A quick question: Should we add this in gcc-wwwdocs porting doc or > somewhere else? The upgrade does cause some old code fail to compile > although it should fail. In general we should (collectively, by the time GCC 15 is out) update changes.html wit

RE: [committed] c: Default to -std=gnu23

2024-11-24 Thread Jiang, Haochen
> From: Joseph Myers > Sent: Saturday, November 16, 2024 7:47 AM > > Change the default language version for C compilation from -std=gnu17 > to -std=gnu23. A few tests are updated to remove local definitions of > bool, true and false (where making such an unconditional test change > seemed to ma

Re: [committed] c: Default to -std=gnu23

2024-11-17 Thread Florian Weimer
* Joseph Myers: > Change the default language version for C compilation from -std=gnu17 > to -std=gnu23. A few tests are updated to remove local definitions of > bool, true and false (where making such an unconditional test change > seemed to make more sense than changing the test conditionally e

Re: [committed] c: Default to -std=gnu23

2024-11-17 Thread Sam James
Florian Weimer writes: > * Joseph Myers: > >> Change the default language version for C compilation from -std=gnu17 >> to -std=gnu23. A few tests are updated to remove local definitions of >> bool, true and false (where making such an unconditional test change >> seemed to make more sense than c

Re: [committed] c: Default to -std=gnu23

2024-11-17 Thread Gerald Pfeifer
On Sat, 16 Nov 2024, Andrew Pinski wrote: >> I started seeing the following on x86_64-unknown-freebsd13.3 over night: > Submitted https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669117.html > to fix those warnings. The code was already partly ANSIfied even. Thank you - happy to confirm thi

Re: [committed] c: Default to -std=gnu23

2024-11-16 Thread Andrew Pinski
On Sat, Nov 16, 2024 at 3:58 AM Gerald Pfeifer wrote: > > On Fri, 15 Nov 2024, Joseph Myers wrote: > > Change the default language version for C compilation from -std=gnu17 > > to -std=gnu23. > : > > Bootstrapped with no regressions for x86_64-pc-linux-gnu. > > I started seeing the following on x8

Re: [committed] c: Default to -std=gnu23

2024-11-16 Thread Gerald Pfeifer
On Fri, 15 Nov 2024, Joseph Myers wrote: > Change the default language version for C compilation from -std=gnu17 > to -std=gnu23. : > Bootstrapped with no regressions for x86_64-pc-linux-gnu. I started seeing the following on x86_64-unknown-freebsd13.3 over night: .../GCC-HEAD/libiberty/testsuite

[committed] c: Default to -std=gnu23

2024-11-15 Thread Joseph Myers
Change the default language version for C compilation from -std=gnu17 to -std=gnu23. A few tests are updated to remove local definitions of bool, true and false (where making such an unconditional test change seemed to make more sense than changing the test conditionally earlier or building it wit