+2008-07-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/36855
+ * semantics.c (trait_expr_value): Update __has_trivial_destructor
+ semantics to the current WP (N2691).
+
2008-07-16 Dodji Seketeli <dseketel@redhat.com>
PR c++/13699
- * gcc/cp/name-lookup.c (lookup_extern_c_fun_binding_in_all_ns):
- New function.
+ * name-lookup.c (lookup_extern_c_fun_binding_in_all_ns): New function.
(pushdecl_maybe_friend): Check if a redeclaration of extern C function
complies with exception specification constraints.
PR c++/13101
* decl.c (grokdeclarator): Warn about initializing variables
- of storage class 'extern' only after the type of the declarator
- has been properly computed.
+ of storage class 'extern' only after the type of the declarator
+ has been properly computed.
2008-07-11 Dodji Seketeli <dseketel@redhat.com>
case CPTK_HAS_TRIVIAL_DESTRUCTOR:
type1 = strip_array_types (type1);
- return (pod_type_p (type1)
+ return (pod_type_p (type1) || type_code1 == REFERENCE_TYPE
|| (CLASS_TYPE_P (type1)
&& TYPE_HAS_TRIVIAL_DESTRUCTOR (type1)));
+2008-07-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/36855
+ * g++.dg/ext/has_trivial_destructor.C: Rename to...
+ * g++.dg/ext/has_trivial_destructor-1.C: ... this.
+ * g++.dg/ext/has_trivial_destructor-2.C: New.
+
2008-07-17 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/36753