PR sanitizer/67867
* search.c (accessible_p): Initialize OTYPE to NULL_TREE.
From-SVN: r228569
+2015-10-07 Marek Polacek <polacek@redhat.com>
+
+ PR sanitizer/67867
+ * search.c (accessible_p): Initialize OTYPE to NULL_TREE.
+
2015-10-07 Marek Polacek <polacek@redhat.com>
* cp-gimplify.c (genericize_if_stmt): Use protected_set_expr_location.
&& (!processing_template_parmlist || processing_template_decl > 1))
return 1;
- tree otype;
+ tree otype = NULL_TREE;
if (!TYPE_P (type))
{
/* When accessing a non-static member, the most derived type in the