diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab62b5063aa..c88988dbf21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-21 Jim Wilson + + * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE + vectors to SI. + 2002-11-21 Bob Wilson * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5dd2e120a4b..0d7d0782a86 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3173,10 +3173,7 @@ function_arg (cum, mode, type, named) && SPE_VECTOR_MODE (mode) && !named) { rtx r1, r2; - enum machine_mode m = GET_MODE_INNER (mode); - - if (mode == V1DImode) - m = SImode; + enum machine_mode m = SImode; r1 = gen_rtx_REG (m, gregno); r1 = gen_rtx_EXPR_LIST (m, r1, const0_rtx);