Skip to content

Commit 475009c

Browse files
committed
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]>
1 parent 8d007d3 commit 475009c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/doc/extend.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16318,7 +16318,7 @@ last argument is not a pointer, but some expression with integral type other
1631816318
than enumerated or boolean type.
1631916319

1632016320
The built-in functions promote the first two operands into infinite precision signed type
16321-
and perform addition on those promoted operands. The result is then
16321+
and perform the corresponding operation on those promoted operands. The result is then
1632216322
cast to the type of the third argument. If the cast result is equal to the infinite
1632316323
precision result, the built-in functions return @code{false}, otherwise they return @code{true}.
1632416324
The value of the third argument is ignored, just the side effects in the third argument

0 commit comments

Comments
 (0)