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 652f993..46eb4f3 100644 --- a/gcc/objcp/objcp-decl.h +++ b/gcc/objcp/objcp-decl.h @@ -66,8 +66,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_alloc_cleared_lang_type \ - (sizeof (struct lang_type_class)); \ + TYPE_LANG_SPECIFIC (NODE) = (struct lang_type *) \ + ggc_internal_cleared_alloc (sizeof (struct lang_type_class)); \ TYPE_LANG_SPECIFIC (NODE)->u.c.h.is_lang_type_class = 1; \ } while (0) |