summaryrefslogtreecommitdiff
path: root/gcc/cp/NEWS
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 11:34:31 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 11:34:31 +0000
commit35ce493bcbbff9344b21991bba90126ddb26f761 (patch)
treec903c2a030c2ff0ad5e86dcbacaca473ca7d0429 /gcc/cp/NEWS
parent5c29d8537a5ae77c24704770493ef63dff11adfb (diff)
downloadgcc-35ce493bcbbff9344b21991bba90126ddb26f761.tar.gz
PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
* class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a type with a nontrivial destructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/NEWS')
-rw-r--r--gcc/cp/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS
index 869ba057b2d..3c35afbe787 100644
--- a/gcc/cp/NEWS
+++ b/gcc/cp/NEWS
@@ -42,7 +42,10 @@
* The C++ ABI has been changed so that when a parameter is passed by value,
any cleanup for that parameter is performed in the caller, as specified
- by the ia64 C++ ABI, rather than the called function as before.
+ by the ia64 C++ ABI, rather than the called function as before. As a
+ result, classes with a non-trivial destructor but a trivial copy
+ constructor will be passed and returned by invisible reference, rather
+ than by bitwise copy as before.
* G++ now supports the "named return value optimization": for code like