aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-10-19 14:09:51 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-10-21 09:28:23 -0400
commit9cb114fd5550eb02dfd6b8db5cb5b8fb72827d53 (patch)
treeded987d67c37643b269ff48816f835a30fba7822 /gcc/gimple-range-cache.cc
parentbd400db6d3ec167142ace352db00f84d382e33a8 (diff)
downloadgcc-9cb114fd5550eb02dfd6b8db5cb5b8fb72827d53.zip
gcc-9cb114fd5550eb02dfd6b8db5cb5b8fb72827d53.tar.gz
gcc-9cb114fd5550eb02dfd6b8db5cb5b8fb72827d53.tar.bz2
Split --param=evrp-mode into evrp-mode and ranger-debug.
With Ranger being used in more than EVRP, the debug output should no longer be tied up with the EVRP mode flag. * doc/invoke.texi (ranger-debug): Document. * flag-types.h (enum ranger_debug): New. (enum evrp_mode): Remove debug values. * gimple-range-cache.cc (DEBUG_RANGE_CACHE): Use new debug flag. * gimple-range-gori.cc (gori_compute::gori_compute): Ditto. * gimple-range.cc (gimple_ranger::gimple_ranger): Ditto. * gimple-ssa-evrp.c (hybrid_folder::choose_value): Ditto. (execute_early_vrp): Use evrp-mode directly. * params.opt (enum evrp_mode): Remove debug values. (ranger-debug): New. (ranger-logical-depth): Relocate to be in alphabetical order.
Diffstat (limited to 'gcc/gimple-range-cache.cc')
-rw-r--r--gcc/gimple-range-cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-range-cache.cc b/gcc/gimple-range-cache.cc
index 9cbc63d..05010cf 100644
--- a/gcc/gimple-range-cache.cc
+++ b/gcc/gimple-range-cache.cc
@@ -30,8 +30,8 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-range.h"
#include "tree-cfg.h"
-#define DEBUG_RANGE_CACHE (dump_file && (param_evrp_mode & EVRP_MODE_CACHE) \
- == EVRP_MODE_CACHE)
+#define DEBUG_RANGE_CACHE (dump_file \
+ && (param_ranger_debug & RANGER_DEBUG_CACHE))
// During contructor, allocate the vector of ssa_names.