public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang @ 2023-06-13 21:46 tuliom at ascii dot art.br 2023-06-13 21:47 ` [Bug math/30550] " tuliom at ascii dot art.br ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: tuliom at ascii dot art.br @ 2023-06-13 21:46 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=30550 Bug ID: 30550 Summary: powerpc64le: GCC-specific code for isinf() is being used on clang Product: glibc Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: tuliom at ascii dot art.br Target Milestone: --- The error can be reproduced with the following: $ cat test-isinf.c #include <math.h> _Bool classify(long double x) { return isinf(x); } $ clang -c -mabi=ibmlongdouble -mfloat128 test-isinf.c test-isinf.c:3:46: error: passing 'long double' to parameter of incompatible type '_Float128' (aka '__float128') _Bool classify(long double x) { return isinf(x); } ^ /usr/include/math.h:1026:21: note: expanded from macro 'isinf' ? __isinff128 (x) : __builtin_isinf_sign (x)) ^ /usr/include/bits/mathcalls-helper-functions.h:29:45: note: passing argument to parameter '__value' here __MATHDECL_ALIAS (int, __isinf,, (_Mdouble_ __value), isinf) ^ 1 error generated. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/30550] powerpc64le: GCC-specific code for isinf() is being used on clang 2023-06-13 21:46 [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang tuliom at ascii dot art.br @ 2023-06-13 21:47 ` tuliom at ascii dot art.br 2023-06-13 21:58 ` tuliom at ascii dot art.br ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: tuliom at ascii dot art.br @ 2023-06-13 21:47 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=30550 Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc64le-linux-gnu Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |tuliom at ascii dot art.br -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/30550] powerpc64le: GCC-specific code for isinf() is being used on clang 2023-06-13 21:46 [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang tuliom at ascii dot art.br 2023-06-13 21:47 ` [Bug math/30550] " tuliom at ascii dot art.br @ 2023-06-13 21:58 ` tuliom at ascii dot art.br 2023-06-30 22:13 ` cvs-commit at gcc dot gnu.org 2023-06-30 22:18 ` tuliom at ascii dot art.br 3 siblings, 0 replies; 5+ messages in thread From: tuliom at ascii dot art.br @ 2023-06-13 21:58 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=30550 --- Comment #1 from Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> --- A fix has been proposed on libc-alpha: https://patchwork.sourceware.org/project/glibc/patch/20230613215633.3179708-1-tuliom@ascii.art.br/ -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/30550] powerpc64le: GCC-specific code for isinf() is being used on clang 2023-06-13 21:46 [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang tuliom at ascii dot art.br 2023-06-13 21:47 ` [Bug math/30550] " tuliom at ascii dot art.br 2023-06-13 21:58 ` tuliom at ascii dot art.br @ 2023-06-30 22:13 ` cvs-commit at gcc dot gnu.org 2023-06-30 22:18 ` tuliom at ascii dot art.br 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-06-30 22:13 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=30550 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tulio Magno Quites Machado Filho <tuliom@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0a9e93842d8e535ac8174cb4ff7fb830b20e4ae7 commit 0a9e93842d8e535ac8174cb4ff7fb830b20e4ae7 Author: Tulio Magno Quites Machado Filho <tuliom@redhat.com> Date: Tue Jun 13 18:56:33 2023 -0300 Stop applying a GCC-specific workaround on clang [BZ #30550] GCC was the only compiler affected by the issue with __builtin_isinf_sign and float128. Fix BZ #30550. Reported-by: Qiu Chaofan <qiucofan@cn.ibm.com> Reviewed-by: Florian Weimer <fweimer@redhat.com> -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/30550] powerpc64le: GCC-specific code for isinf() is being used on clang 2023-06-13 21:46 [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang tuliom at ascii dot art.br ` (2 preceding siblings ...) 2023-06-30 22:13 ` cvs-commit at gcc dot gnu.org @ 2023-06-30 22:18 ` tuliom at ascii dot art.br 3 siblings, 0 replies; 5+ messages in thread From: tuliom at ascii dot art.br @ 2023-06-30 22:18 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=30550 Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Target Milestone|--- |2.38 --- Comment #3 from Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> --- Fixed in glibc 2.38. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-30 22:18 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-06-13 21:46 [Bug math/30550] New: powerpc64le: GCC-specific code for isinf() is being used on clang tuliom at ascii dot art.br 2023-06-13 21:47 ` [Bug math/30550] " tuliom at ascii dot art.br 2023-06-13 21:58 ` tuliom at ascii dot art.br 2023-06-30 22:13 ` cvs-commit at gcc dot gnu.org 2023-06-30 22:18 ` tuliom at ascii dot art.br
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).