[Bug middle-end/123222] Typo in __builtin_sub_overflow_p docs

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 20 20:05:51 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123222

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:475009cf0bf4df4223dfc01c02c751b8f94ef4d7

commit r16-6313-g475009cf0bf4df4223dfc01c02c751b8f94ef4d7
Author: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Date:   Sat Dec 20 12:00:36 2025 -0800

    extension: Fix documentation for __builtin_*_overflow_p [PR123222]

    This fixes the copy-and-pasto for these builtins.
    Basically the documentation currently says "addition" as that was copied
from
    __builtin_add_overflow documentation but really it should say corresponding
operation
    instead.

    Pushed as obvious.

            PR middle-end/123222
    gcc/ChangeLog:

            * doc/extend.texi: Fix copy-and-pasto for __builtin_*_overflow_p.

    Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>


More information about the Gcc-bugs mailing list