re PR target/14960 ([3.4 only] -maltivec affects vector return with -mabi=no-altivec)
authorAlan Modra <amodra@bigpond.net.au>
Sat, 24 Apr 2004 06:37:19 +0000 (06:37 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 24 Apr 2004 06:37:19 +0000 (16:07 +0930)
commit44688022b31c3eafa49eaf01f542ff48d4cddc6f
tree7b910332276ecef60daf972903dba6cd505e95a5
parente9f4e55723db706a9af5a86549bd18381dfa99ab
re PR target/14960 ([3.4 only] -maltivec affects vector return with -mabi=no-altivec)

PR target/14960
* config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size
to non_fixed_size, and leave out fixed_size from the sum.
(generate_set_vrsave): Correct clobbers.
(rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE.
(rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI.
(rs6000_libcall_value): Likewise.
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise.
(FUNCTION_ARG_REGNO_P): Likewise.

From-SVN: r81129
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h