Re: gcc 15 "array subscript 0" warning at level -O3

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: gcc 15 "array subscript 0" warning at level -O3
Дата
Msg-id pjk43pvje7pfx6a54gxorswsostlpk4beuuvwsh3ggpey7ynzy@nhrg6khl4kmg
обсуждение исходный текст
Ответ на Re: gcc 15 "array subscript 0" warning at level -O3  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
Hi,

On 2025-07-02 22:13:17 +0800, jian he wrote:
> On Thu, Jun 5, 2025 at 3:00 AM Andres Freund <andres@anarazel.de> wrote:
> > I've been once more annoyed by this warning. Here's a prototype for the
> > approach outlined above.
> >
> 
> I can confirm the warning disappears when using gcc-14.0 compile
> source code with the attached patch.
> I didn't review it though.
> I didn’t find this in the CommitFest, so I added an entry [1] to make sure it
> doesn’t get forgotten...

Thanks. Pushed it now and closed the CF entry.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления: