https://gcc.gnu.org/g:475009cf0bf4df4223dfc01c02c751b8f94ef4d7
commit r16-6313-g475009cf0bf4df4223dfc01c02c751b8f94ef4d7 Author: Andrew Pinski <[email protected]> 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 <[email protected]> Diff: --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 9fba65dfdd92..d7fdea53ad6a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -16318,7 +16318,7 @@ last argument is not a pointer, but some expression with integral type other than enumerated or boolean type. The built-in functions promote the first two operands into infinite precision signed type -and perform addition on those promoted operands. The result is then +and perform the corresponding operation on those promoted operands. The result is then cast to the type of the third argument. If the cast result is equal to the infinite precision result, the built-in functions return @code{false}, otherwise they return @code{true}. The value of the third argument is ignored, just the side effects in the third argument
