Re: error: ‘EVRP_MODE_DEBUG’ was not declared – was: [PUSHED] Ranger classes.
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 26 Oct 2020 14:13:58 +0000 (10:13 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Mon, 26 Oct 2020 14:18:01 +0000 (10:18 -0400)
Initialize zerov to match vr-values.c.

* gimple-range.cc (range_of_builtin_call): Initialize zerov to 0.

gcc/gimple-range.cc

index 267ebad..f5c6a1c 100644 (file)
@@ -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)