rs6000.c (rs6000_va_arg): Correctly set register count for aggregate and TFmode types.

2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
	for aggregate and TFmode types.

From-SVN: r51591
This commit is contained in:
Franz Sirl 2002-03-30 01:00:23 +00:00 committed by Franz Sirl
parent a106c875ba
commit d3294cd931
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
for aggregate and TFmode types.
2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
* cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].

View File

@ -3118,7 +3118,8 @@ rs6000_va_arg (valist, type)
n_reg = 1;
sav_ofs = 0;
sav_scale = 4;
size = rsize = UNITS_PER_WORD;
size = UNITS_PER_WORD;
rsize = 1;
}
else if (FLOAT_TYPE_P (type) && ! TARGET_SOFT_FLOAT)
{