mips.c (mips_global_pointer): Check call_really_used_regs instead of call_used_regs.
gcc/ * config/mips/mips.c (mips_global_pointer): Check call_really_used_regs instead of call_used_regs. (mips_save_reg_p): Likewise. Save all call-saved registers if current_function_saves_all_registers. Fix indentation. No longer treat $18 as a special case. (compute_frame_size): Guard FPR loop with TARGET_HARD_FLOAT. gcc/testsuite/ * gcc.target/mips/call-saved-1.c: New test. * gcc.target/mips/call-saved-2.c: Likewise. * gcc.target/mips/call-saved-3.c: Likewise. * gcc.target/mips/mips.exp (setup_mips_tests): Set mips_gp64 instead of mips_mips64. Set mips_fp64 too. (is_gp32_flag): Return true for -mips1 and -mips2. (dg-mips-options): Use mips_gp64 instead of mips_mips64. From-SVN: r128347
Showing
gcc/testsuite/gcc.target/mips/call-saved-1.c
0 → 100644
gcc/testsuite/gcc.target/mips/call-saved-2.c
0 → 100644
gcc/testsuite/gcc.target/mips/call-saved-3.c
0 → 100644
Please
register
or
sign in
to comment