https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95592
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:fa9c46939f9a5c5eb90338b80b213ec1e3579df7 commit r10-9567-gfa9c46939f9a5c5eb90338b80b213ec1e3579df7 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Oct 28 12:35:44 2020 +0000 libstdc++: Fix name clash with _Cosh in QNX headers [PR 95592] This replaces unqualified names like _Cosh with struct std::_Cosh to ensure there is no ambiguity with other entities with the same name. libstdc++-v3/ChangeLog: PR libstdc++/95592 * include/bits/valarray_after.h (_DEFINE_EXPR_UNARY_OPERATOR) (_DEFINE_EXPR_BINARY_OPERATOR, _DEFINE_EXPR_BINARY_FUNCTION): Use elaborated-type-specifier and qualified-id to avoid ambiguities with QNX system headers. * testsuite/26_numerics/valarray/95592.cc: New test. (cherry picked from commit 72a87d82e0d0741d75c72c8f3d2fc070e3a02b5f)