GCC 15 warning for GCM implementation
Paul Eggert
eggert at cs.ucla.edu
Sun Jul 6 04:39:01 CEST 2025
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.
More information about the Gcrypt-devel
mailing list