]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove TDF_THREADING flag in favor of param.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 9 Nov 2021 09:14:25 +0000 (10:14 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Tue, 9 Nov 2021 13:29:22 +0000 (14:29 +0100)
commit47c2cf3ac684fab21ec31c72462b7b21845a41f2
treef50d0bc73091d02c016be7e0f50534a4afcbeac2
parentc71cb26a9e841888f52e4bfcaad94c8f8ecb4fdb
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=.
gcc/dumpfile.c
gcc/dumpfile.h
gcc/flag-types.h
gcc/gimple-range-path.cc
gcc/params.opt