aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 4abcfaf..b6afdc4 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -7189,6 +7189,9 @@ finish_struct_1 (tree t)
/* Finish debugging output for this type. */
rest_of_type_compilation (t, ! LOCAL_CLASS_P (t));
+ /* Recalculate satisfaction that might depend on completeness. */
+ clear_satisfaction_cache ();
+
if (TYPE_TRANSPARENT_AGGR (t))
{
tree field = first_field (t);