From: David Starner Date: Thu, 28 Oct 1999 09:13:40 +0000 (+0000) Subject: c-pragma.c (push_alignment): Don't check the return value of xmalloc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=566047c21e297eef4295a3af9892a506bcab4754;p=gcc.git c-pragma.c (push_alignment): Don't check the return value of xmalloc. * c-pragma.c (push_alignment): Don't check the return value of xmalloc. From-SVN: r30233 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c34eb3f778..fefd38df337 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 28 03:12:02 1999 David Starner + + * c-pragma.c (push_alignment): Don't check the return value + of xmalloc. + Thu Oct 28 03:08:38 1999 Matteo Frigo * sparc.h (ADJUST_COST): Fix thinko. diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c index 36aa2c4dbaf..86bd5c48e1e 100644 --- a/gcc/c-pragma.c +++ b/gcc/c-pragma.c @@ -91,12 +91,6 @@ Alignment must be a small power of two, not %d, in #pragma pack", entry = (align_stack *) xmalloc (sizeof (* entry)); - if (entry == NULL) - { - warning ("Out of memory pushing #pragma pack"); - return 0; - } - entry->alignment = alignment; entry->num_pushes = 1; entry->id = id;