+2018-07-04 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ PR c++/86398
+ * method.c (is_trivially_xible): Return false
+ if is_xible_helper returns a NULL_TREE.
+
2018-07-03 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (min_location): New.
tree expr;
expr = is_xible_helper (code, to, from, /*trivial*/true);
- if (expr == error_mark_node)
+ if (expr == NULL_TREE || expr == error_mark_node)
return false;
tree nt = cp_walk_tree_without_duplicates (&expr, check_nontriv, NULL);
return !nt;
SA(!__is_trivially_constructible(const void,int));
SA(!__is_trivially_constructible(volatile void,int));
SA(!__is_trivially_constructible(const volatile void,int));
+SA(!__is_trivially_constructible(int, void*));
+SA(!__is_trivially_constructible(int, int*));
+SA(!__is_trivially_constructible(int, const int*));
+SA(!__is_trivially_constructible(int*, void*));
+SA(!__is_trivially_constructible(int*, const int*));
SA(!__is_trivially_constructible(D));