c-pragma.c (push_alignment): Don't check the return value of xmalloc.
authorDavid Starner <dstarner98@aasaa.ofe.org>
Thu, 28 Oct 1999 09:13:40 +0000 (09:13 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 28 Oct 1999 09:13:40 +0000 (03:13 -0600)
        * c-pragma.c (push_alignment): Don't check the return value
        of xmalloc.

From-SVN: r30233

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;