summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 40191f6bead..97125f1c663 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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);
}