summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-01 18:56:02 +0000
committerobrien <obrien@FreeBSD.org>1999-11-01 18:56:02 +0000
commit929a892c18ed29fa10481a4ff042c3f7ae30ec1b (patch)
tree35316006d5c6d7fb97d7553565415df11516a3db /contrib
parent60685dfcfda989efa7f9e5c076df08098b73880d (diff)
downloadFreeBSD-src-929a892c18ed29fa10481a4ff042c3f7ae30ec1b.zip
FreeBSD-src-929a892c18ed29fa10481a4ff042c3f7ae30ec1b.tar.gz
Merge rev 1.2 (a.out support) into GCC 2.95.2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/function.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gcc/function.c b/contrib/gcc/function.c
index bf3a3fb..e597d33 100644
--- a/contrib/gcc/function.c
+++ b/contrib/gcc/function.c
@@ -1030,11 +1030,12 @@ assign_stack_temp_for_type (mode, size, keep, type)
So for requests which depended on the rounding of SIZE, we go ahead
and round it now. We also make sure ALIGNMENT is at least
BIGGEST_ALIGNMENT. */
- if (mode == BLKmode && align < (BIGGEST_ALIGNMENT / BITS_PER_UNIT))
+ if (mode == BLKmode && align < BIGGEST_ALIGNMENT)
abort();
p->slot = assign_stack_local (mode,
- mode == BLKmode
- ? CEIL_ROUND (size, align) : size,
+ (mode == BLKmode
+ ? CEIL_ROUND (size, align / BITS_PER_UNIT)
+ : size),
align);
p->align = align;
OpenPOWER on IntegriCloud