diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 9404a00..719daaa 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -901,8 +901,7 @@ cpp_register_pragma (pfile, space, name, handler) } found: - new = (struct pragma_entry *) - _cpp_pool_alloc (&pfile->macro_pool, sizeof (struct pragma_entry)); + new = xnew (struct pragma_entry); new->name = name; new->len = strlen (name); new->isnspace = 0; @@ -930,8 +929,7 @@ cpp_register_pragma_space (pfile, space) p = p->next; } - new = (struct pragma_entry *) - _cpp_pool_alloc (&pfile->macro_pool, sizeof (struct pragma_entry)); + new = xnew (struct pragma_entry); new->name = space; new->len = len; new->isnspace = 1; |