aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-08-12 14:02:20 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-08-17 19:28:43 -0400
commit0bb74a28e1318cbac9c895f1079b384a42513a9c (patch)
tree78e909ad91f5269a2408cc32cb57d9a2b2989903 /gcc/gimple-range-cache.cc
parente68c8280fa2e1b7071378cfdd876155c73ec944f (diff)
downloadgcc-0bb74a28e1318cbac9c895f1079b384a42513a9c.zip
gcc-0bb74a28e1318cbac9c895f1079b384a42513a9c.tar.gz
gcc-0bb74a28e1318cbac9c895f1079b384a42513a9c.tar.bz2
Change evrp-mode options.
Remove tracing in hybrid mode. Add trace/gori/cache tracing options. tracing options are now 'trace', 'gori', 'cache', or all combined in 'debug' * flag-types.h (enum evrp_mode): Adjust evrp-mode values. * gimple-range-cache.cc (DEBUG_RANGE_CACHE): Relocate from. * gimple-range-trace.h (DEBUG_RANGE_CACHE): Here. * params.opt (--param=evrp-mode): Adjust options.
Diffstat (limited to 'gcc/gimple-range-cache.cc')
-rw-r--r--gcc/gimple-range-cache.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gimple-range-cache.cc b/gcc/gimple-range-cache.cc
index 91541f1..4138d05 100644
--- a/gcc/gimple-range-cache.cc
+++ b/gcc/gimple-range-cache.cc
@@ -30,6 +30,9 @@ 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)
+
// During contructor, allocate the vector of ssa_names.
non_null_ref::non_null_ref ()