Re: GCC 15 warning for GCM implementation
Paul Eggert via Gcrypt-devel <[email protected]> Sat, 5 Jul 2025 19:39:01 -0700
| Newsgroups | gmane.comp.encryption.gpg.libgcrypt.devel |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <[email protected]> |
On 2025-07-05 18:12, Collin Funk via Gcrypt-devel wrote: > The patch looks reasonable to me, but FYI I am not able to see the > warning with: > > $ uname -a > Linux fedora 6.15.4-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 27 15:32:46 UTC 2025 x86_64 GNU/Linux > $ gcc --version | sed 1q > gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) In my experience the latest GCC (which you're using) is better about not generating -Warray-bounds false alarms. I typically don't bother pacifying older GCCs; it's not worth the trouble.