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] Fix PR45393


On Wed, Aug 25, 2010 at 3:45 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> In sincos detection we forgot to properly move EH regions. ?Fixed as
> follows.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk
> sofar.
>
> Richard.
>
> 2010-08-25 ?Richard Guenther ?<rguenther@suse.de>
>
> ? ? ? ?PR tree-optimization/45393
> ? ? ? ?* tree-ssa-math-opts.c (execute_cse_sincos_1): Properly transfer
> ? ? ? ?and clean EH info. ?Avoid SSA update.
> ? ? ? ?(execute_cse_sincos): Cleanup the CFG if it has changed.
>
> ? ? ? ?* g++.dg/torture/pr45393.C: New testcase.
>

I backported it to gcc 4.5. OK for 4.5?

Thanks.

-- 
H.J.
---
gcc/

2010-08-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2010-08-25  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45393
	* tree-ssa-math-opts.c (execute_cse_sincos_1): Properly transfer
	and clean EH info.  Avoid SSA update.
	(execute_cse_sincos): Cleanup the CFG if it has changed.

gcc/testsuite/

2010-08-30  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2010-08-25  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45393
	* g++.dg/torture/pr45393.C: New testcase.

Attachment: gcc-4.5-pr45393-1.patch
Description: Text document


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