GCC 15 warning for GCM implementation

Collin Funk collin.funk1 at gmail.com
Sun Jul 6 03:12:59 CEST 2025


NIIBE Yutaka via Gcrypt-devel <gcrypt-devel at gnupg.org> writes:

> I think that new code has clean semantics and read easier (computing
> N only when the condition holds).
>
> Any suggestions are welcome.

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)

Collin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250705/48929882/attachment.sig>


More information about the Gcrypt-devel mailing list