On Thu, Jun 14, 2012 at 6:38 PM, Easwaran Raman <era...@google.com> wrote:
> The conditional dead call elimination pass shrink wraps certain dead
> calls to math functions. It doesn't handle case like this:
>
> D.142420_139 = powD.549 (D.142421_138, D.142419_132);
>  fooD.120935.barD.113815 = D.142420_139;
> # foo.bar is dead here.
>
> This code gets cleaned up by DCE and leaves only pow, which can then
> be shrink-wrapped by cdce. So it seems reasonable to do this
> reordering. Bootstraps on x86_64 on linux with no test regression. OK
> for trunk?
>
> - Easwaran
>
> ----------------------
>
> 2012-06-14   Easwaran Raman  <era...@google.com>
>
>        * gcc/passes.c (init_optimization_passes): Remove pass_call_cdce
>        from its current position and insert after pass_dce.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53710

It may expose a latent bug.

-- 
H.J.

Reply via email to