https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126807
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <[email protected]>: https://gcc.gnu.org/g:4ccaab59f55c622c8befa284fb3c291669c445d8 commit r17-4134-g4ccaab59f55c622c8befa284fb3c291669c445d8 Author: Iain Sandoe <[email protected]> Date: Sat Aug 8 20:33:13 2026 +0100 libstdc++: Arrange for non-constant math_errhandling to SFINAE [PR126807] 14 simd testcases fail to build on Darwin because math_errhandling is a macro that resolves to a function, rather than a constant. At present the macro is present in a non-dependent requires clause and so is not substituted. We need this to SFINAE in the immediate context. Solution proposed here is to use the macro as a default template argument instead. PR libstdc++/126807 libstdc++-v3/ChangeLog: * include/bits/simd_details.h: Make the math_errhandling macro into a default template argument. Signed-off-by: Iain Sandoe <[email protected]>
