Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
bfd7425d
Commit
bfd7425d
authored
5 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Restores the feedback when a loop is not completely unrolled.
parent
00c7630c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/value/engine/partition.ml
+6
-1
6 additions, 1 deletion
src/plugins/value/engine/partition.ml
tests/value/oracle/partitioning-annots.0.res.oracle
+6
-0
6 additions, 0 deletions
tests/value/oracle/partitioning-annots.0.res.oracle
with
12 additions
and
1 deletion
src/plugins/value/engine/partition.ml
+
6
−
1
View file @
bfd7425d
...
...
@@ -418,8 +418,13 @@ struct
begin
match
k
.
loops
with
|
[]
->
raise
InvalidAction
|
(
h
,
limit
)
::
tl
->
if
h
>=
limit
then
if
h
>=
limit
then
begin
if
limit
>
0
then
Value_parameters
.
warning
~
once
:
true
~
current
:
true
~
wkey
:
Value_parameters
.
wkey_loop_unroll
"loop not completely unrolled"
;
k
end
else
{
k
with
loops
=
(
h
+
1
,
limit
)
::
tl
}
end
...
...
This diff is collapsed.
Click to expand it.
tests/value/oracle/partitioning-annots.0.res.oracle
+
6
−
0
View file @
bfd7425d
...
...
@@ -4,9 +4,15 @@
[eva] Initial state computed
[eva:initial-state] Values of globals at initialization
k ∈ {0}
[eva:loop-unroll] tests/value/partitioning-annots.c:26:
loop not completely unrolled
[eva] tests/value/partitioning-annots.c:26: starting to merge loop iterations
[eva:loop-unroll] tests/value/partitioning-annots.c:34:
loop not completely unrolled
[eva] tests/value/partitioning-annots.c:34: starting to merge loop iterations
[eva] tests/value/partitioning-annots.c:36: starting to merge loop iterations
[eva:loop-unroll] tests/value/partitioning-annots.c:50:
loop not completely unrolled
[eva] tests/value/partitioning-annots.c:50: starting to merge loop iterations
[eva] Recording results for test_unroll
[eva] done for function test_unroll
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment