https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108030
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Matthias Kretz <mkr...@gcc.gnu.org>: https://gcc.gnu.org/g:92c47b15d5af3e7f93d11ad69a45b6d1cb8661c5 commit r13-6299-g92c47b15d5af3e7f93d11ad69a45b6d1cb8661c5 Author: Matthias Kretz <m.kr...@gsi.de> Date: Mon Feb 20 11:13:44 2023 +0100 libstdc++: Fix simd build failure on clang Clang does not support __attribute__ on lambdas. Therefore, only set _GLIBCXX_SIMD_ALWAYS_INLINE_LAMBDA if __clang__ is not defined. Signed-off-by: Matthias Kretz <m.kr...@gsi.de> libstdc++-v3/ChangeLog: PR libstdc++/108030 * include/experimental/bits/simd_detail.h (_GLIBCXX_SIMD_ALWAYS_INLINE_LAMBDA): Define as empty for __clang__.