https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60318
--- Comment #4 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:3c64582372cf445eabc4f9e99def7e33fb0270ee commit r12-3423-g3c64582372cf445eabc4f9e99def7e33fb0270ee Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Aug 31 09:46:41 2021 +0100 c++: Fix docs on assignment of virtual bases [PR60318] The description of behaviour is incorrect, the virtual base gets assigned before entering the bodies of A::operator= and B::operator=, not after. The example is also ill-formed (passing a string literal to char*) and undefined (missing return from Base::operator=). Signed-off-by: Jonathan Wakely <jwak...@redhat.com> gcc/ChangeLog: PR c++/60318 * doc/trouble.texi (Copy Assignment): Fix description of behaviour and fix code in example.