* [COMMITTED] Fix --param=ranger-debug=all to include a trace.
@ 2021-11-03 14:38 Andrew MacLeod
0 siblings, 0 replies; only message in thread
From: Andrew MacLeod @ 2021-11-03 14:38 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
Sigh. still didn't get the bitmask right :-P A recent patch made each
of trace/gori/cache their own flag, but didn't adjust the 'all' value to
account that cache no longer included trace.... so all had no trace in
it. fixed thusly.
Bootstrapped on x86_64-pc-linux-gnu with no regressions. Pushed.
Andrew
[-- Attachment #2: 0002-Fix-param-ranger-debug-all-to-include-a-trace.patch --]
[-- Type: text/x-patch, Size: 1008 bytes --]
From 309bb7ff6e2807ecd849c133c3639705f20e5894 Mon Sep 17 00:00:00 2001
From: Andrew MacLeod <amacleod@redhat.com>
Date: Mon, 1 Nov 2021 16:40:45 -0400
Subject: [PATCH 2/6] Fix --param=ranger-debug=all to include a trace.
A recent change made each debug flag its own value, but the 'all' value was
not adjusted properly and 'trace' was left out.
* flag-types.h (RANGER_DEBUG_ALL): Fix values.
---
gcc/flag-types.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/flag-types.h b/gcc/flag-types.h
index 7cf8c28933b..459e3e07016 100644
--- a/gcc/flag-types.h
+++ b/gcc/flag-types.h
@@ -458,7 +458,8 @@ enum ranger_debug
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)
+ RANGER_DEBUG_ALL = (RANGER_DEBUG_GORI | RANGER_DEBUG_CACHE
+ | RANGER_DEBUG_TRACE)
};
/* EVRP mode. */
--
2.17.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-03 14:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 14:38 [COMMITTED] Fix --param=ranger-debug=all to include a trace Andrew MacLeod
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).