[PATCH] Fix PR45393

Richard Guenther rguenther@suse.de
Mon Aug 30 14:01:00 GMT 2010


On Mon, 30 Aug 2010, H.J. Lu wrote:

> 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?

Ok.

Thanks,
Richard.


More information about the Gcc-patches mailing list