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: Fix PR33576 ICE in lamdba


okay

On 10/2/07, Sebastian Pop <sebpop@gmail.com> wrote:
> Hi,
>
> This patch fixes the ICE of PR33576.  The ICE is due to the fact that
> we were removing dead induction variables that were still referenced
> in chrecs.  I caused this PR with one of the code transforms to have
> the generated code from lambda being vectorized.
>
> This patch collects all the dead ivs, and removes them only after
> loop linear finishes.  The patch bootstraps and passes check on
> amd64-linux.  Okay for trunk?
>
> Sebastian
>
>         PR tree-optimization/33576
>         * testsuite/gcc.dg/tree-ssa/pr33576.c: New.
>         * tree-loop-linear.c (linear_transform_loops): Call remove_iv.
>         * lambda.h (lambda_loopnest_to_gcc_loopnest): New parameter.
>         (remove_iv): Declared.
>         * lambda-code.c (remove_iv): Not static.
>         (lambda_loopnest_to_gcc_loopnest): New parameter remove_ivs.
>         Don't remove ivs there, save ivs in the buffer.
>
>


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