re PR rtl-optimization/9771 ([x86] wrong ebp optimisation)
PR rtl-optimization/9771 * regclass.c (CALL_REALLY_USED_REGNO_P): New macro to eliminate conditional compilation in init_reg_sets_1. (init_reg_sets_1): Let global_regs[i] take priority over the frame (but not stack) pointer exceptions to regs_invalidated_by_call. (globalize_reg): Globalizing a fixed register may need to update regs_invalidated_by_call. * gcc.dg/pr9771-1.c: New test case. From-SVN: r87516
Showing
gcc/testsuite/gcc.dg/pr9771-1.c
0 → 100644
Please
register
or
sign in
to comment