File tree 3 files changed +6
-6
lines changed
regression/cbmc-cover/inlining1 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change
1
+ // Discussion point: is the branch below one goal or two?
2
+
1
3
inline void my_func (int x )
2
4
{
3
5
if (x )
Original file line number Diff line number Diff line change 3
3
--cover branch
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
- ^\[my_func .coverage.1\] file main.c line 3 function my_func block 1 branch false : SATISFIED$
7
- ^\[my_func.coverage.2 \] file main.c line 3 function my_func block 1 branch true: FAILED $
8
- ^\[my_func.coverage.3 \] file main.c line 3 function my_func block 2 branch false: FAILED $
9
- ^\[my_func.coverage.4 \] file main.c line 3 function my_func block 2 branch true: SATISFIED$
6
+ ^\[main .coverage.1\] file main.c line 13 function main entry point : SATISFIED$
7
+ ^\[my_func.coverage.1 \] file main.c line 5 function my_func entry point: SATISFIED $
8
+ ^\[my_func.coverage.2 \] file main.c line 5 function my_func block 1 branch false: SATISFIED $
9
+ ^\[my_func.coverage.3 \] file main.c line 5 function my_func block 1 branch true: SATISFIED$
10
10
--
11
11
^warning: ignoring
Original file line number Diff line number Diff line change @@ -204,8 +204,6 @@ bool bmc_covert::operator()()
204
204
// This maps property IDs to 'goalt'
205
205
forall_goto_functions (f_it, goto_functions)
206
206
{
207
- // Functions are already inlined.
208
- if (f_it->second .is_inlined ()) continue ;
209
207
forall_goto_program_instructions (i_it, f_it->second .body )
210
208
{
211
209
if (i_it->is_assert ())
You can’t perform that action at this time.
0 commit comments