diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index c96d79d..05aacfa 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -6487,7 +6487,7 @@ static struct sorted_fields_type * sorted_fields_type_new (int n) { struct sorted_fields_type *sft; - sft = ggc_alloc_sorted_fields_type (sizeof (struct sorted_fields_type) + sft = (sorted_fields_type *) ggc_internal_alloc (sizeof (sorted_fields_type) + n * sizeof (tree)); sft->len = n; |