File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ OBJ+= $(CPROVER_DIR)/src/ansi-c/ansi-c$(LIBEXT) \
27
27
$(CPROVER_DIR ) /src/util/util$(LIBEXT ) \
28
28
$(CPROVER_DIR ) /src/goto-instrument/unwind$(OBJEXT ) \
29
29
$(CPROVER_DIR ) /src/goto-instrument/unwindset$(OBJEXT ) \
30
- $(CPROVER_DIR ) /src/goto-checker/goto-checker$(LIBEXT ) \
30
+ $(CPROVER_DIR ) /src/goto-checker/goto-checker$(LIBEXT ) \
31
31
../domains/domains$(LIBEXT ) \
32
32
../ssa/ssa$(LIBEXT ) \
33
33
../solver/solver$(LIBEXT ) \
Original file line number Diff line number Diff line change 18
18
#include " ../ssa/local_ssa.h"
19
19
#include " ../ssa/unwindable_local_ssa.h"
20
20
#include " ../domains/incremental_solver.h"
21
- #include " types .h"
21
+ #include " traces .h"
22
22
23
23
// / Try to cover some given set of goals incrementally. This can be seen as a
24
24
// / heuristic variant of SAT-based set-cover. No minimality guarantee.
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Author: Peter Schrammel
25
25
#include < solver/summary_db.h>
26
26
27
27
#include " cover_goals_ext.h"
28
- #include " types .h"
28
+ #include " traces .h"
29
29
30
30
class graphml_witness_extt ;
31
31
Original file line number Diff line number Diff line change 1
1
/* ******************************************************************\
2
2
3
- Module: Type declarations
3
+ Module: GOTO traces
4
4
5
5
Author: František Nečas
6
6
7
7
\*******************************************************************/
8
8
9
9
// / \file
10
- // / Type declarations
10
+ // / GOTO traces
11
11
12
12
#ifndef CPROVER_2LS_2LS_TYPES_H
13
13
#define CPROVER_2LS_2LS_TYPES_H
Original file line number Diff line number Diff line change @@ -281,9 +281,10 @@ void template_generator_baset::add_var(
281
281
if (var.type ().id ()==ID_array && options.get_bool_option (" arrays" ))
282
282
{
283
283
const array_typet &array_type=to_array_type (var.type ());
284
+ if (!array_type.size ().is_constant ())
285
+ return ;
284
286
mp_integer size;
285
- if (array_type.size ().is_constant ())
286
- to_integer (to_constant_expr (array_type.size ()), size);
287
+ to_integer (to_constant_expr (array_type.size ()), size);
287
288
for (mp_integer i=0 ; i<size; i=i+1 )
288
289
{
289
290
var_specs.push_back (var_spect ());
You can’t perform that action at this time.
0 commit comments