diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2003-11-26 10:48:21 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2003-11-26 09:48:21 +0000 |
commit | 6a151f8767eeb9bb84ec6084e52a3a703b4925d3 (patch) | |
tree | 5f762e4fc2d50adec84015020a78d86674f05b78 /gcc/testsuite/gcc.c-torture | |
parent | 8bc7a740215a43a3189aeeb5caa8381582cf5816 (diff) | |
download | gcc-6a151f8767eeb9bb84ec6084e52a3a703b4925d3.zip gcc-6a151f8767eeb9bb84ec6084e52a3a703b4925d3.tar.gz gcc-6a151f8767eeb9bb84ec6084e52a3a703b4925d3.tar.bz2 |
re PR target/6466 (backend uses bad type for frame size calculation.)
PR target/6466
* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
(sparc_flat_compute_frame_size): Likewise.
(sparc_flat_save_restore): Move prototype...
* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
(save_regs): New prototype.
(build_big_number): Likewise.
(apparent_fsize): Change type to HOST_WIDE_INT.
(actual_fsize): Likewise.
(frame_base_offset): Likewise.
(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
to load a 64-bit constant.
(sparc_nonflat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Change offset type to HOST_WIDE_INT.
(output_restore_regs): Change offset type to HOST_WIDE_INT.
(sparc_nonflat_function_epilogue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Use build_big_number.
(output_sibcall): Change size type to HOST_WIDE_INT. Use
build_big_number. Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
(sparc_frame_info): Change types for several components.
(sparc_flat_compute_frame_size): Update types according to previous
change.
(sparc_flat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Change offset type to int. Use
build_big_number.
(sparc_flat_function_epilogue): Change offset type to int.
Rename 'size1' into 'reg_offset1'. Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Use build_big_number. Change big number
limit to 4096 instead of 4095.
* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
HOST_WIDE_INT.
Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
From-SVN: r73942
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
0 files changed, 0 insertions, 0 deletions