diff options
author | Trevor Gross <tmgross@umich.edu> | 2025-09-11 20:50:04 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2025-09-11 20:52:27 +0000 |
commit | 9b6df34aa5a4a8a805e1c08256608fd302cb3874 (patch) | |
tree | 26a060ee185ee705cc081100295e9882d30a708a /libjava/classpath/vm/reference/java | |
parent | 0899b826f7196f609fc8991456eb728802061318 (diff) | |
download | gcc-9b6df34aa5a4a8a805e1c08256608fd302cb3874.zip gcc-9b6df34aa5a4a8a805e1c08256608fd302cb3874.tar.gz gcc-9b6df34aa5a4a8a805e1c08256608fd302cb3874.tar.bz2 |
doc: Correct the return type of float comparison
Documentation for `__cmpsf2` and similar functions currently indicate a
return type of `int`. This is not correct however; the `libgcc`
functions return `CMPtype`, the size of which is determined by the
`libgcc_cmp_return` mode.
Update documentation to use `CMPtype` and indicate that this is
target-dependent, also mentioning the usual modes.
Reported-by: beetrees <b@beetr.ee>
Fixes: https://github.com/rust-lang/compiler-builtins/issues/919#issuecomment-2905347318
Signed-off-by: Trevor Gross <tmgross@umich.edu>
* doc/libgcc.texi (Comparison functions): Document functions as
returning CMPtype.
Diffstat (limited to 'libjava/classpath/vm/reference/java')
0 files changed, 0 insertions, 0 deletions