Align passed structures with double alignment correctly.

From-SVN: r2558
This commit is contained in:
Michael Meissner 1992-10-22 16:23:56 +00:00
parent 51bdc4d3b8
commit df7fef57d1
1 changed files with 7 additions and 1 deletions

View File

@ -2529,8 +2529,14 @@ function_arg (cum, mode, type, named)
: FP_ARG_FIRST;
break;
case VOIDmode:
case BLKmode:
if (type != (tree)0 && TYPE_ALIGN (type) > BITS_PER_WORD)
cum->arg_words += (cum->arg_words & 1);
regbase = GP_ARG_FIRST;
break;
case VOIDmode:
case QImode:
case HImode:
case SImode: