This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't caller-save pseudos across calls that may throw (PR rtl-optimization/23478)


On Mon, Aug 22, 2005 at 11:28:22AM -0400, Jakub Jelinek wrote:
> 	PR rtl-optimization/23478
> 	* regs.h (reg_info): Add throw_calls_crossed.
> 	(REG_N_THROWING_CALLS_CROSSED): Define.
> 	* flow.c (allocate_reg_life_data): Initialize
> 	REG_N_THROWING_CALLS_CROSSED.
> 	(propagate_one_insn, attempt_auto_inc): Update
> 	REG_N_THROWING_CALLS_CROSSED.
> 	* global.c (global_alloc): Don't allocate pseudos across
> 	calls that may throw.
> 	* g++.dg/opt/pr23478.C: New test.

Ok everywhere.  This looks pretty safe.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]