Bug fix in padding code

This commit is contained in:
ceriel 1991-10-25 11:15:09 +00:00
parent 84e6e1a10b
commit 6333faba3c
2 changed files with 4 additions and 2 deletions

View file

@ -28,6 +28,7 @@
#include "assert.h"
#include "Lpars.h"
#include "sizes.h"
#include "align.h"
#include "idf.h"
#include "level.h"
#include "def.h"
@ -450,7 +451,7 @@ pad(tpx)
}
#endif NOBITFIELD
while (sz >= word_size) {
if (tp->tp_align >= word_align) while (sz >= word_size) {
C_con_cst((arith) 0);
sz -= word_size;
}

View file

@ -26,6 +26,7 @@
#include "assert.h"
#include "Lpars.h"
#include "sizes.h"
#include "align.h"
#include "idf.h"
#include "level.h"
#include "def.h"
@ -444,7 +445,7 @@ pad(tpx)
break;
}
while (sz >= word_size) {
if (tp->tp_align >= word_align) while (sz >= word_size) {
C_con_cst((arith) 0);
sz -= word_size;
}