https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95592
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:72a87d82e0d0741d75c72c8f3d2fc070e3a02b5f commit r11-4476-g72a87d82e0d0741d75c72c8f3d2fc070e3a02b5f 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.