Re: [PATCH v17 2/2] c: Add __countof__ operator

2024-11-08 Thread Joseph Myers via Gcc
On Fri, 8 Nov 2024, Alejandro Colomar wrote: > Hi Thorsten, JeanHeyd, > > I've just checked that JeanHeyd opened a survey about the name. > It's here: . > Thanks for the survey, JeanHeyd; It's a fair one. (The only thing I > miss is anouncing i

Should we move the --param documention to gccint?

2024-11-08 Thread Richard Sandiford via Gcc
We changed one of the AArch64-specific --params for GCC 14. Unfortunately, it seems that a lot of people were relying on the previous behaviour. Every --param is documented in the user-facing manual, so it's not surprising that people picked it up. The documentation of --param itself starts with:

'defer' (n3199) concerns

2024-11-08 Thread Alejandro Colomar via Gcc
Hi JeanHeyd, I was involved this week in a fix for a bug I wrote some months ago about a call to free(3) with a bad pointer. The simplest reproducer is: $ cat strsep_bad.c #include #include #include int main(void) { char

Re: 'defer' (n3199) concerns

2024-11-08 Thread Martin Uecker via Gcc
Am Freitag, dem 08.11.2024 um 16:40 +0100 schrieb Alejandro Colomar via Gcc: > Hi JeanHeyd, > > I was involved this week in a fix for a bug I wrote some months ago > about a call to free(3) with a bad pointer. > > The simplest reproducer is: > > $ cat strsep_bad.c > #include >

Re: 'defer' (n3199) concerns

2024-11-08 Thread Serge Hallyn
Nov 8, 2024 09:41:00 Alejandro Colomar : > Hi JeanHeyd, > > I was involved this week in a fix for a bug I wrote some months ago > about a call to free(3) with a bad pointer. > > The simplest reproducer is: > >     $ cat strsep_bad.c >     #include >     #include >     #include > >     int >    

gcc-13-20241108 is now available

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

Re: [PATCH v17 2/2] c: Add __countof__ operator

2024-11-08 Thread Alejandro Colomar via Gcc
Hi Joseph, On Fri, Nov 08, 2024 at 03:54:51PM GMT, Joseph Myers wrote: > On Fri, 8 Nov 2024, Alejandro Colomar wrote: > > > Hi Thorsten, JeanHeyd, > > > > I've just checked that JeanHeyd opened a survey about the name. > > It's here: . > > Than

Secondary reload and pseudos

2024-11-08 Thread Stefan Schulze Frielinghaus via Gcc
Hi all, For older s390 machines, which do not support vector extensions, I'm trying to implement 2-byte GPR<->FPR moves. Since GPRs are right-aligned and FPRs left-aligned I cannot trivially copy between them. However, at least since z9-ec (TARGET_DFP) we have instructions ldgr/lgdr in order to

Re: Sourceware forge experiment

2024-11-08 Thread Mark Wielaard
Hi Eric, On Thu, 2024-10-24 at 15:44 -0400, Eric Gallager wrote: > On Sun, Oct 20, 2024 at 9:27 PM Mark Wielaard wrote: > > As an experiment Sourceware is now running an forgejo v9 instance at > > https://forge.sourceware.org > > > > Everybody with an @sourceware.org, @cygwin.com or @gcc.gnu.org

Re: [PATCH v17 2/2] c: Add __countof__ operator

2024-11-08 Thread Alejandro Colomar via Gcc
Hi Thorsten, JeanHeyd, I've just checked that JeanHeyd opened a survey about the name. It's here: . Thanks for the survey, JeanHeyd; It's a fair one. (The only thing I miss is anouncing it to some relevant publics, but I guess I'm doing it now,

VLA representation in GCC internals

2024-11-08 Thread Alejandro Colomar via Gcc
Hi Martin, I'm in the process of rebasing my __countof__ changes after your patch that fixes support for [*] and [0]. I should update the implementation of the following function: static bool is_top_array_vla (tree type) { bool zero, star, var; tree d;

Re: [PATCH v17 2/2] c: Add __countof__ operator

2024-11-08 Thread Thorsten Glaser
On Fri, 8 Nov 2024, Alejandro Colomar wrote: >I've just checked that JeanHeyd opened a survey about the name. >It's here: . Yes, I saw it on Fedi, where it was announced big, and filled it in. Thanks, //mirabilos -- 11:56⎜«liwakura:#!/bin/mksh