PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
authorJason Merrill <jason@gcc.gnu.org>
Mon, 18 Mar 2002 11:34:31 +0000 (06:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Mar 2002 11:34:31 +0000 (06:34 -0500)
        * class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

From-SVN: r50964

gcc/cp/NEWS

index 869ba057b2d145b6fc53080563c2d20b0158a060..3c35afbe78775df356b8323ad2b8818db87d39d0 100644 (file)
 
 * 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