public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] sccopy: remove unused data member [PR113069]
@ 2023-12-19 22:19 Marek Polacek
  2023-12-19 22:48 ` Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Polacek @ 2023-12-19 22:19 UTC (permalink / raw)
  To: GCC Patches; +Cc: fkastl

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.
---
 gcc/gimple-ssa-sccopy.cc | 1 -
 1 file changed, 1 deletion(-)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sccopy: remove unused data member [PR113069]
  2023-12-19 22:19 [PATCH] sccopy: remove unused data member [PR113069] Marek Polacek
@ 2023-12-19 22:48 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2023-12-19 22:48 UTC (permalink / raw)
  To: Marek Polacek; +Cc: GCC Patches, fkastl

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-19 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 22:19 [PATCH] sccopy: remove unused data member [PR113069] Marek Polacek
2023-12-19 22:48 ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).