Bug fix in padding code
This commit is contained in:
parent
84e6e1a10b
commit
6333faba3c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue