* c-pragma.c (push_alignment): Don't check the return value
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 1999 09:13:40 +0000 (09:13 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 1999 09:13:40 +0000 (09:13 +0000)
        of xmalloc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30233 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-pragma.c

index 7c34eb3..fefd38d 100644 (file)
@@ -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.
index 36aa2c4..86bd5c4 100644 (file)
@@ -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;