diff options
Diffstat (limited to 'gcc/config/i386/winnt.c')
-rw-r--r-- | gcc/config/i386/winnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 3750e0c4b08..c20a2ae89fc 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -576,7 +576,7 @@ i386_pe_record_external_function (tree decl, const char *name) { struct extern_list *p; - p = (struct extern_list *) ggc_alloc (sizeof *p); + p = ggc_alloc_extern_list (); p->next = extern_head; p->decl = decl; p->name = name; @@ -617,7 +617,7 @@ i386_pe_maybe_record_exported_symbol (tree decl, const char *name, int is_data) gcc_assert (TREE_PUBLIC (decl)); - p = (struct export_list *) ggc_alloc (sizeof *p); + p = ggc_alloc_export_list (); p->next = export_head; p->name = name; p->is_data = is_data; |