diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-10-21 10:58:16 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-10-25 10:43:06 -0400 |
commit | 2bfb21bb8ce16698926576870e4b1f2609e0c909 (patch) | |
tree | 78fcd4eb794572e33adb423aa41b146196beab6e /gcc | |
parent | 2cbfaba60661ebbdfcffe725ab55fbb323e2a187 (diff) | |
download | gcc-2bfb21bb8ce16698926576870e4b1f2609e0c909.zip gcc-2bfb21bb8ce16698926576870e4b1f2609e0c909.tar.gz gcc-2bfb21bb8ce16698926576870e4b1f2609e0c909.tar.bz2 |
Tweak ranger-debug flags.
Set the 3 possible flags as all individual bits and group for options.
* flag-types.h (enum ranger_debug): Adjust values.
* params.opt (ranger_debug): Ditto.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/flag-types.h | 3 | ||||
-rw-r--r-- | gcc/params.opt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/flag-types.h b/gcc/flag-types.h index a5a6371..7cf8c28 100644 --- a/gcc/flag-types.h +++ b/gcc/flag-types.h @@ -454,9 +454,10 @@ enum ranger_debug { RANGER_DEBUG_NONE = 0, RANGER_DEBUG_TRACE = 1, - RANGER_DEBUG_CACHE = (2 | RANGER_DEBUG_TRACE), + RANGER_DEBUG_CACHE = 2, RANGER_DEBUG_GORI = 4, RANGER_DEBUG_TRACE_GORI = (RANGER_DEBUG_TRACE | RANGER_DEBUG_GORI), + RANGER_DEBUG_TRACE_CACHE = (RANGER_DEBUG_TRACE | RANGER_DEBUG_CACHE), RANGER_DEBUG_ALL = (RANGER_DEBUG_GORI | RANGER_DEBUG_CACHE) }; diff --git a/gcc/params.opt b/gcc/params.opt index 393d52b..6eb3e15 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -887,7 +887,7 @@ EnumValue Enum(ranger_debug) String(trace) Value(RANGER_DEBUG_TRACE) EnumValue -Enum(ranger_debug) String(cache) Value(RANGER_DEBUG_CACHE) +Enum(ranger_debug) String(cache) Value(RANGER_DEBUG_TRACE_CACHE) EnumValue Enum(ranger_debug) String(gori) Value(RANGER_DEBUG_GORI) |