aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2020-10-26 10:13:58 -0400
committerAndrew MacLeod <amacleod@redhat.com>2020-10-26 10:18:01 -0400
commit425bb53b54aece8ffe8298686c9ba5259ab17b0e (patch)
treed1cce990c38b9a8e9686f59eaff0882736cd896f /gcc
parent9e2256dcd481ffe3a8c79b65eba19fbb14b7ff8d (diff)
downloadgcc-425bb53b54aece8ffe8298686c9ba5259ab17b0e.zip
gcc-425bb53b54aece8ffe8298686c9ba5259ab17b0e.tar.gz
gcc-425bb53b54aece8ffe8298686c9ba5259ab17b0e.tar.bz2
Re: error: ‘EVRP_MODE_DEBUG’ was not declared – was: [PUSHED] Ranger classes.
Initialize zerov to match vr-values.c. * gimple-range.cc (range_of_builtin_call): Initialize zerov to 0.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gimple-range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-range.cc b/gcc/gimple-range.cc
index 267ebad..f5c6a1c 100644
--- a/gcc/gimple-range.cc
+++ b/gcc/gimple-range.cc
@@ -611,7 +611,7 @@ range_of_builtin_call (range_query &query, irange &r, gcall *call)
tree type = gimple_call_return_type (call);
tree arg;
- int mini, maxi, zerov, prec;
+ int mini, maxi, zerov = 0, prec;
scalar_int_mode mode;
switch (func)