public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] i386: Disable math_opt_barrier and math_force_eval for clang Date: Fri, 9 Feb 2024 17:32:15 +0000 (GMT) [thread overview] Message-ID: <20240209173215.4971D3858417@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0c16775b5cedca6205a28148fa6f2a111ae499c6 commit 0c16775b5cedca6205a28148fa6f2a111ae499c6 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Tue Jul 26 08:45:02 2022 -0300 i386: Disable math_opt_barrier and math_force_eval for clang It triggers an ICE with clang while building round_and_return. Diff: --- sysdeps/x86/fpu/math-barriers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86/fpu/math-barriers.h b/sysdeps/x86/fpu/math-barriers.h index 6fdcdac280..59577b77ea 100644 --- a/sysdeps/x86/fpu/math-barriers.h +++ b/sysdeps/x86/fpu/math-barriers.h @@ -19,7 +19,7 @@ #ifndef X86_MATH_BARRIERS_H #define X86_MATH_BARRIERS_H 1 -#ifdef __SSE2_MATH__ +#if defined __SSE2_MATH__ && !defined (__clang__) # define math_opt_barrier(x) \ ({ __typeof(x) __x; \ if (sizeof (x) <= sizeof (double) \
next reply other threads:[~2024-02-09 17:32 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-09 17:32 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-04-17 20:07 Adhemerval Zanella 2024-04-02 15:53 Adhemerval Zanella 2024-02-07 14:07 Adhemerval Zanella 2024-01-29 17:57 Adhemerval Zanella 2023-12-21 18:54 Adhemerval Zanella 2023-09-28 17:52 Adhemerval Zanella 2023-08-30 12:37 Adhemerval Zanella 2023-02-09 19:48 Adhemerval Zanella 2022-10-28 17:42 Adhemerval Zanella 2022-10-04 12:59 Adhemerval Zanella
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240209173215.4971D3858417@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).