diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2021-11-09 10:14:25 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2021-11-09 14:29:22 +0100 |
commit | 47c2cf3ac684fab21ec31c72462b7b21845a41f2 (patch) | |
tree | f50d0bc73091d02c016be7e0f50534a4afcbeac2 /gcc/dumpfile.c | |
parent | c71cb26a9e841888f52e4bfcaad94c8f8ecb4fdb (diff) | |
download | gcc-47c2cf3ac684fab21ec31c72462b7b21845a41f2.zip gcc-47c2cf3ac684fab21ec31c72462b7b21845a41f2.tar.gz gcc-47c2cf3ac684fab21ec31c72462b7b21845a41f2.tar.bz2 |
Remove TDF_THREADING flag in favor of param.
I am returning a TDF_* flag to the queue of available entries as I am
unconvinced that we need to burn an entire flag for internal debugging
constructs, especially since we seem to be running out of them.
I've added a --param=threader-debug entry similar to the one we use for
ranger debugging. Currently this only affects the backward threader,
but since the DOM threader is an outlier and on the chopping block, I
avoided using the "backward" name.
Tested on x86-64 Linux.
gcc/ChangeLog:
* dumpfile.c (dump_options): Remove TDF_THREADING entry.
* dumpfile.h (enum dump_flag): Remove TDF_THREADING and adjust
remaining entries.
* flag-types.h (enum threader_debug): New.
* gimple-range-path.cc (DEBUG_SOLVER): Use param_threader_debug.
* params.opt: Add entry for --param=threader-debug=.
Diffstat (limited to 'gcc/dumpfile.c')
-rw-r--r-- | gcc/dumpfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/dumpfile.c b/gcc/dumpfile.c index e6ead5d..8169daf 100644 --- a/gcc/dumpfile.c +++ b/gcc/dumpfile.c @@ -145,7 +145,6 @@ static const kv_pair<dump_flags_t> dump_options[] = {"missed", MSG_MISSED_OPTIMIZATION}, {"note", MSG_NOTE}, {"optall", MSG_ALL_KINDS}, - {"threading", TDF_THREADING}, {"all", dump_flags_t (TDF_ALL_VALUES & ~(TDF_RAW | TDF_SLIM | TDF_LINENO | TDF_GRAPH | TDF_STMTADDR | TDF_RHS_ONLY | TDF_NOUID |