https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96382
--- Comment #2 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:8abab28bb5c0cd80063518d47494cb6078767b89 commit r11-2465-g8abab28bb5c0cd80063518d47494cb6078767b89 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Jul 31 19:55:28 2020 +0100 libstdc++: Remove condition around friend declaration (PR 96382) libstdc++-v3/ChangeLog: PR libstdc++/96382 * include/bits/stl_iterator.h (reverse_iterator): Friend declaration should not depend on __cplusplus.