diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2008-06-29 04:39:16 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2008-06-29 04:39:16 +0000 |
commit | 4dc6c528c2b8e858ae65d91a82c6fae661894302 (patch) | |
tree | 2b48e3a63388183c42752ae73ac281a65cd85dd7 /gcc/ggc-page.c | |
parent | 4152a484b4ddc476c40c2bfe9c30a743bdd018ac (diff) | |
download | gcc-4dc6c528c2b8e858ae65d91a82c6fae661894302.zip gcc-4dc6c528c2b8e858ae65d91a82c6fae661894302.tar.gz gcc-4dc6c528c2b8e858ae65d91a82c6fae661894302.tar.bz2 |
alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings.
* alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings.
* df-scan.c (df_notes_rescan): Likewise.
* ggc-page.c (set_page_table_entry): Likewise.
* intl.c (gcc_gettext_width): Likewise.
* varasm.c (get_unnamed_section, get_noswitch_section,
get_section): Likewise.
From-SVN: r137245
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r-- | gcc/ggc-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 14e0776..4ac73d4 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -610,7 +610,7 @@ set_page_table_entry (void *p, page_entry *entry) goto found; /* Not found -- allocate a new table. */ - table = xcalloc (1, sizeof(*table)); + table = XCNEW (struct page_table_chain); table->next = G.lookup; table->high_bits = high_bits; G.lookup = table; |