aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ChangeLog
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-08-31 09:46:41 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-08 22:34:16 +0100
commit3c64582372cf445eabc4f9e99def7e33fb0270ee (patch)
tree420f0cb5fd97ec25c47fa1354f7ae952116e5b41 /gcc/ada/ChangeLog
parente66b9f6779f46433b0e2c093b58403604ed131cc (diff)
downloadgcc-3c64582372cf445eabc4f9e99def7e33fb0270ee.zip
gcc-3c64582372cf445eabc4f9e99def7e33fb0270ee.tar.gz
gcc-3c64582372cf445eabc4f9e99def7e33fb0270ee.tar.bz2
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 <jwakely@redhat.com> gcc/ChangeLog: PR c++/60318 * doc/trouble.texi (Copy Assignment): Fix description of behaviour and fix code in example.
Diffstat (limited to 'gcc/ada/ChangeLog')
0 files changed, 0 insertions, 0 deletions