https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120235
--- Comment #3 from GCC 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:6dbcbd96e90159e87a339b98192b7e6e5534b0d7 commit r16-656-g6dbcbd96e90159e87a339b98192b7e6e5534b0d7 Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon May 12 11:34:01 2025 +0100 libstdc++: Deprecate non-standard std::fabs(const complex<T>&) [PR120235] There was an overload of fabs for std::complex in TR1 and in some C++0x drafts, but it was removed from the working draft by LWG 595. Since we've been providing it for decades we should deprecate it before removing it. libstdc++-v3/ChangeLog: PR libstdc++/120235 * doc/html/*: Regenerate. * doc/xml/manual/evolution.xml: Document deprecation. * include/std/complex: Replace references to TR1 subclauses with corresponding C++11 subclauses. (fabs): Add deprecated attribute. * testsuite/26_numerics/complex/fabs_neg.cc: New test. Reviewed-by: Tomasz KamiÅski <tkami...@redhat.com>