diff options
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 9142a2c..e7d3771 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2685,7 +2685,7 @@ finish_typeof (tree expr) if (type_dependent_expression_p (expr)) { type = make_aggr_type (TYPEOF_TYPE); - TYPE_FIELDS (type) = expr; + TYPEOF_TYPE_EXPR (type) = expr; return type; } |