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 7c34eb3f77899033334aa2695f256402e69017bf..fefd38df337fe7b94b59860be0bb63d042e44411 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 36aa2c4dbaf07dfe9227c82ef23ce86d78f9e4c7..86bd5c48e1e7a240f24647f4d52a98cff7e92b5f 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;