On Tue, Dec 19, 2023 at 05:19:35PM -0500, Marek Polacek wrote:
> Should be obvious, but...  tested on x86_64, ok for trunk?
> 
> -- >8 --
> 
>       PR tree-optimization/113069
> 
> gcc/ChangeLog:
> 
>       * gimple-ssa-sccopy.cc (scc_discovery): Remove unused member.

Ok, thanks.

> diff --git a/gcc/gimple-ssa-sccopy.cc b/gcc/gimple-ssa-sccopy.cc
> index 19a656e2822..4e561064f79 100644
> --- a/gcc/gimple-ssa-sccopy.cc
> +++ b/gcc/gimple-ssa-sccopy.cc
> @@ -140,7 +140,6 @@ public:
>    auto_vec<vec<gimple *>> compute_sccs (vec<gimple *> &stmts);
>  
>  private:
> -  unsigned curr_generation = 0;
>    vertex* vertices; /* Indexed by SSA_NAME_VERSION.  */
>    auto_vec<unsigned> worklist; /* DFS stack.  */
>    auto_vec<unsigned> stack; /* Tarjan stack.  */
> 
> base-commit: 1502d724df85163b14b04e8f67072ca88eac411d
> -- 
> 2.43.0

        Jakub

Reply via email to