diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-11-26 09:46:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-11-26 09:46:51 +0100 |
commit | 5bb36d832c955e575bd458a02f3c6c5b28564aed (patch) | |
tree | e265fad04c99c66b9dcf00daefa4cd3207daa83d /gcc/fortran/trans-expr.cc | |
parent | f39e6b4f5cd4e5362cf4b1004a591df2c8b00304 (diff) | |
download | gcc-5bb36d832c955e575bd458a02f3c6c5b28564aed.zip gcc-5bb36d832c955e575bd458a02f3c6c5b28564aed.tar.gz gcc-5bb36d832c955e575bd458a02f3c6c5b28564aed.tar.bz2 |
builtins: Fix up DFP ICEs on __builtin_fpclassify [PR102674]
This patch is similar to the one I've just posted, __builtin_fpclassify also
needs to print decimal float minimum differently and use real_from_string3.
Plus I've done some formatting fixes.
2024-11-26 Jakub Jelinek <jakub@redhat.com>
PR middle-end/102674
* builtins.cc (fold_builtin_fpclassify): Use real_from_string3 rather
than real_from_string. Use "1E%d" format string rather than "0x1p%d"
for decimal float minimum. Formatting fixes.
* gcc.dg/dfp/pr102674.c: New test.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions