public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Matthias Kretz <mkretz@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-9644] libstdc++: Fix operator% implementation for Clang Date: Tue, 23 May 2023 10:03:05 +0000 (GMT) [thread overview] Message-ID: <20230523100305.6B3B8384643E@sourceware.org> (raw) https://gcc.gnu.org/g:336c91bf7f611d04b5fbcb5f6fa39bfa258a16e2 commit r12-9644-g336c91bf7f611d04b5fbcb5f6fa39bfa258a16e2 Author: Matthias Kretz <m.kretz@gsi.de> Date: Wed Mar 22 08:12:08 2023 +0100 libstdc++: Fix operator% implementation for Clang This resolves a regression of my previous fix where Clang would ICE on _S_divides. Signed-off-by: Matthias Kretz <m.kretz@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/simd_x86.h (_SimdImplX86): Use _Base::_S_divides if the optimized _S_divides function is hidden via the preprocessor. (cherry picked from commit 1a62008123694b2ac07f28e25fc6e5ff371925f5) Diff: --- libstdc++-v3/include/experimental/bits/simd_x86.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libstdc++-v3/include/experimental/bits/simd_x86.h b/libstdc++-v3/include/experimental/bits/simd_x86.h index cb5ec1aa86e..7fd1d958c08 100644 --- a/libstdc++-v3/include/experimental/bits/simd_x86.h +++ b/libstdc++-v3/include/experimental/bits/simd_x86.h @@ -1524,6 +1524,8 @@ template <typename _Abi, typename> */ return _Base::_S_divides(__x, __y); } +#else + using _Base::_S_divides; #endif // _GLIBCXX_SIMD_WORKAROUND_PR90993 // }}}
reply other threads:[~2023-05-23 10:03 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230523100305.6B3B8384643E@sourceware.org \ --to=mkretz@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.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).