diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 19:54:26 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 19:54:26 +0000 |
commit | c62e29e138d1d7dfc7915ab1eeb5e864499aa071 (patch) | |
tree | a8502ad5ff36f59acf8b7f24637d9090abc21d1f /gcc/varasm.c | |
parent | fa69cd4a37d9aa7eee9ba39588af630d7b93dc36 (diff) | |
download | gcc-c62e29e138d1d7dfc7915ab1eeb5e864499aa071.tar.gz |
* varasm.c (output_constant): Fix underflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66732 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 5 |
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); } |