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

Edit
ID 5888
Title gcc 15 "array subscript 0" warning at level -O3
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 2, First patch: +30−0, All patches: +39−0
Topic Server Features
Tags
Created 2025-07-02 14:08:20
Last modified 2025-07-02 14:08:20 (yesterday)
Latest email 2025-07-02 14:13:17 (yesterday)
Status
PG19-2 (2025-09-01 - 2025-09-30): Needs review
Target version 19
Authors Andres Freund (andresfreund)
Reviewers Become reviewer
Committer
Links
Emails
gcc 15 "array subscript 0" warning at level -O3
First at 2025-04-25 17:37:15 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2025-07-02 14:13:17 by jian he <jian.universality at gmail.com>
Latest attachment (v1-0001-Add-pg_assume-expr-macro.patch) at 2025-06-04 19:00:03 from Andres Freund <andres at anarazel.de>
    Attachment (v1-0001-Add-pg_assume-expr-macro.patch) at 2025-06-04 19:00:03 from Andres Freund <andres at anarazel.de> (Patch: Yes)
History
When Who What
2025-07-02 14:08:20 Jian He (stayreal) Attached mail thread 1985046.1745602635@sss.pgh.pa.us
2025-07-02 14:08:20 Jian He (stayreal) Created patch record
Edit