|
58 | 58 | #include <analyses/escape_analysis.h>
|
59 | 59 | #include <analyses/global_may_alias.h>
|
60 | 60 | #include <analyses/interval_analysis.h>
|
61 |
| -#include <analyses/interval_domain.h> |
62 | 61 | #include <analyses/is_threaded.h>
|
63 | 62 | #include <analyses/lexical_loops.h>
|
64 | 63 | #include <analyses/local_bitvector_analysis.h>
|
@@ -487,17 +486,10 @@ int goto_instrument_parse_optionst::doit()
|
487 | 486 |
|
488 | 487 | if(cmdline.isset("show-intervals"))
|
489 | 488 | {
|
490 |
| - do_indirect_call_and_rtti_removal(); |
491 |
| - |
492 |
| - // recalculate numbers, etc. |
493 |
| - goto_model.goto_functions.update(); |
494 |
| - |
495 |
| - log.status() << "Interval Analysis" << messaget::eom; |
496 |
| - namespacet ns(goto_model.symbol_table); |
497 |
| - ait<interval_domaint> interval_analysis; |
498 |
| - interval_analysis(goto_model); |
499 |
| - interval_analysis.output(goto_model, std::cout); |
500 |
| - return CPROVER_EXIT_SUCCESS; |
| 489 | + log.status() << "--show-intervals is deprecated, " |
| 490 | + << "use goto-analyzer --show --intervals" |
| 491 | + << messaget::eom; |
| 492 | + return CPROVER_EXIT_USAGE_ERROR; |
501 | 493 | }
|
502 | 494 |
|
503 | 495 | if(cmdline.isset("show-call-sequences"))
|
@@ -1801,7 +1793,6 @@ void goto_instrument_parse_optionst::help()
|
1801 | 1793 | " --show-custom-bitvector-analysis\n"
|
1802 | 1794 | " show results of configurable bitvector analysis\n" // NOLINT(*)
|
1803 | 1795 | " --interval-analysis perform interval analysis\n"
|
1804 |
| - " --show-intervals show results of interval analysis\n" |
1805 | 1796 | " --show-uninitialized show maybe-uninitialized variables\n"
|
1806 | 1797 | " --show-points-to show points-to information\n"
|
1807 | 1798 | " --show-rw-set show read-write sets\n"
|
|
0 commit comments