On 01/03/2014 12:29 PM, Paolo Carlini wrote:
-  (lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_none) != NULL_TREE)
+  (lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_none) != NULL_TREE \
+   || ((TYPE) && NON_UNION_CLASS_TYPE_P (TYPE) \
+       && same_type_ignoring_top_level_qualifiers_p ((PARENT), (TYPE))))

Let's only check one or the other, depending on whether TYPE is incomplete.

+   issued.  If the base in incomplete, then NULL_TREE is returned.  */

"If T is incomplete"

Jason

Reply via email to