-
Notifications
You must be signed in to change notification settings - Fork 88
Warn when ana.opt.hashcons is disabled but implicitly overridden #1921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 7 commits
4e2998e
6f83ac0
a1f285d
cffdb82
6727019
88c9ac6
daa36fb
004be4c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| . |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -136,6 +136,12 @@ let check_arguments () = | |
| if get_bool "ana.autotune.enabled" && get_bool "incremental.load" then (set_bool "ana.autotune.enabled" false; warn "ana.autotune.enabled implicitly disabled by incremental.load"); | ||
| if get_bool "exp.basic-blocks" && not (get_bool "justcil") && List.mem "assert" @@ get_string_list "trans.activated" then (set_bool "exp.basic-blocks" false; warn "The option exp.basic-blocks implicitly disabled by activating the \"assert\" transformation."); | ||
| if (not @@ get_bool "witness.invariant.all-locals") && (not @@ get_bool "cil.addNestedScopeAttr") then (set_bool "cil.addNestedScopeAttr" true; warn "Disabling witness.invariant.all-locals implicitly enables cil.addNestedScopeAttr."); | ||
| if not (get_bool "ana.opt.hashcons") then ( | ||
| if get_bool "exp.arg.enabled" then | ||
| warn "Disabling ana.opt.hashcons has no effect because hashconsing is implicitly enabled by exp.arg.enabled"; | ||
| if List.mem "apron" (get_string_list "ana.activated") then | ||
| warn "Disabling ana.opt.hashcons has no effect because hashconsing is implicitly enabled by Apron (ana.activated includes 'apron')"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is true: the hashconsing functors in This should be checked and if I'm correct, then it could be a |
||
| ); | ||
| if List.mem "remove_dead_code" @@ get_string_list "trans.activated" then ( | ||
| (* 'assert' transform happens before 'remove_dead_code' transform *) | ||
| ignore @@ List.fold_left | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.