reload_combine vs. exceptions

Eric Botcazou ebotcazou@adacore.com
Wed Nov 17 21:59:00 GMT 2010


> Ok, successfully tested on x86_64-linux and m68k-linux and checked in.

Thanks.  It occured to me that we don't need to call control_flow_insn_p twice 
on the same insn, hence the attached patch.  It also reverses the only loop 
among 5 otherwise equivalent ones that runs backward for no valid reason.

Bootstrapped/regtested on i586-suse-linux, applied on the mainline.


2010-11-17  Eric Botcazou  <ebotcazou@adacore.com>

	* postreload.c (reload_combine): Call control_flow_insn_p only once.
	Reverse backward loop.  Fix formatting issues.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 2691 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101117/e07c363d/attachment.bin>


More information about the Gcc-patches mailing list