summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-pragma.c6
2 files changed, 5 insertions, 6 deletions
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 <dstarner98@aasaa.ofe.org>
+
+ * c-pragma.c (push_alignment): Don't check the return value
+ of xmalloc.
+
Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
* 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;