diff options
Diffstat (limited to 'gcc/objcp/objcp-decl.h')
-rw-r--r-- | gcc/objcp/objcp-decl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/objcp/objcp-decl.h b/gcc/objcp/objcp-decl.h index 50d98287662..1f9f36c6a3f 100644 --- a/gcc/objcp/objcp-decl.h +++ b/gcc/objcp/objcp-decl.h @@ -73,8 +73,8 @@ extern tree objcp_end_compound_stmt (tree, int); #undef ALLOC_OBJC_TYPE_LANG_SPECIFIC #define ALLOC_OBJC_TYPE_LANG_SPECIFIC(NODE) \ do { \ - TYPE_LANG_SPECIFIC (NODE) = GGC_CNEWVAR \ - (struct lang_type, sizeof (struct lang_type_class)); \ + TYPE_LANG_SPECIFIC (NODE) = ggc_alloc_cleared_lang_type \ + (sizeof (struct lang_type_class)); \ TYPE_LANG_SPECIFIC (NODE)->u.c.h.is_lang_type_class = 1; \ } while (0) |