* varasm.c (output_constant): Fix underflow.
authorJan Hubicka <jh@suse.cz>
Mon, 12 May 2003 19:54:26 +0000 (21:54 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 12 May 2003 19:54:26 +0000 (19:54 +0000)
From-SVN: r66732

gcc/ChangeLog
gcc/varasm.c

index 0317642eaeb45b836d94463d74f8549aa085f871..a96f1f0eb693f04f51868c79c37545a6f26a3cc0 100644 (file)
@@ -1,3 +1,7 @@
+Mon May 12 21:53:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * varasm.c (output_constant):  Fix underflow.
+
 2003-05-12  Mark Mitchell  <mark@codesourcery.com>
 
        PR other/10745
index 40191f6bead5c4cf26935350800430df9d0562e3..97125f1c663b8a03f2732927f8e99ea736282896 100644 (file)
@@ -3913,9 +3913,8 @@ output_constant (exp, size, align)
       abort ();
     }
 
-  size -= thissize;
-  if (size > 0)
-    assemble_zeros (size);
+  if (size > thissize)
+    assemble_zeros (size - thissize);
 }
 
 \f