On Tue, Nov 9, 2021 at 3:28 PM Martin Liška <mli...@suse.cz> wrote:
>
> On 11/9/21 15:22, Aldy Hernandez wrote:
> > On Tue, Nov 9, 2021 at 3:10 PM Martin Liška <mli...@suse.cz> wrote:
> >>
> >>> +-param=threader-debug=
> >>
> >> Please document the param in gcc/doc/invoke.texi.
> >
> > I purposely didn't document it.  This is an internal debugging
> > construct.  What's our policy on this?
>
> Well, quite some params are actually intended for GCC developers only.

OK.

I don't see any ordering in these items, so I've placed it next to
another of the backward threader knobs.

How does this look?

Aldy
From a9c97e1f82aac48be70e9b3bf9343874061a58ac Mon Sep 17 00:00:00 2001
From: Aldy Hernandez <al...@redhat.com>
Date: Tue, 9 Nov 2021 15:33:12 +0100
Subject: [PATCH] Document --param=threader-debug.

gcc/ChangeLog:

	* doc/invoke.texi (Invoking GCC): Document --param=threader-debug.
---
 gcc/doc/invoke.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 95732c3fb25..2ea23d07c4c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14518,6 +14518,9 @@ finite state automaton jump thread path.
 @item max-fsm-thread-length
 Maximum number of basic blocks on a jump thread path.
 
+@item threader-debug
+threader-debug=[none|all] Enables verbose dumping of the threader solver.
+
 @item parloops-chunk-size
 Chunk size of omp schedule for loops parallelized by parloops.
 
-- 
2.31.1

Reply via email to