Re: [PATCH] C++-ify and move control dependence code

2013-09-06 Thread Steven Bosscher
On Fri, Sep 6, 2013 at 8:41 AM, Richard Biener wrote: >> I'd recommend re-implementing the control dependence code, then. The >> current implementation is basically taken from old RTL-SSA dce.c and >> uses a now old-fashioned view of the CFG, e.g. using edge lists. >> You're probably better off sta

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Richard Biener
On 9/5/13 11:58 PM, Steven Bosscher wrote: > On Thu, Sep 5, 2013 at 4:05 PM, Richard Biener wrote: >> >> This C++-ifies and moves the control dependence code from tree-ssa-dce.c >> to cfganal.c as I am about to re-use that code from loop distribution. > > I'd recommend re-implementing the control

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Steven Bosscher
On Thu, Sep 5, 2013 at 4:05 PM, Richard Biener wrote: > > This C++-ifies and moves the control dependence code from tree-ssa-dce.c > to cfganal.c as I am about to re-use that code from loop distribution. I'd recommend re-implementing the control dependence code, then. The current implementation is

Re: [PATCH] C++-ify and move control dependence code

2013-09-05 Thread Jeff Law
On 09/05/2013 08:05 AM, Richard Biener wrote: This C++-ifies and moves the control dependence code from tree-ssa-dce.c to cfganal.c as I am about to re-use that code from loop distribution. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2013-09-05 Richard Biener