diff mbox series

[COMMITTED] Fix --param=ranger-debug=all to include a trace.

Message ID 909ad085-58e7-e98f-6cca-4b6e610bdfd2@redhat.com
State New
Headers show
Series [COMMITTED] Fix --param=ranger-debug=all to include a trace. | expand

Commit Message

Andrew MacLeod Nov. 3, 2021, 2:38 p.m. UTC
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
diff mbox series

Patch

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