rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS with targetm version.

* config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
	with targetm version.

From-SVN: r79437
This commit is contained in:
Alan Modra 2004-03-13 07:51:58 +00:00 committed by Alan Modra
parent c53bdcf59b
commit fa78dbea45
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-03-13 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS
with targetm version.
PR target/14567
* config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
(HARD_REGNO_MODE_OK): Disallow TFmode for fp31.

View File

@ -4839,7 +4839,7 @@ rs6000_va_arg (tree valist, tree type)
return expand_expr (t, NULL_RTX, VOIDmode, EXPAND_NORMAL);
}
if (SPLIT_COMPLEX_ARGS
if (targetm.calls.split_complex_arg
&& TREE_CODE (type) == COMPLEX_TYPE)
{
tree elem_type = TREE_TYPE (type);