@@ -58,57 +58,12 @@ void goto_diff_parse_optionst::get_command_line_options(optionst &options)
5858 exit (1 );
5959 }
6060
61- if (cmdline.isset (" program-only" ))
62- options.set_option (" program-only" , true );
63-
64- if (cmdline.isset (" show-byte-ops" ))
65- options.set_option (" show-byte-ops" , true );
66-
67- if (cmdline.isset (" show-vcc" ))
68- options.set_option (" show-vcc" , true );
69-
7061 if (cmdline.isset (" cover" ))
7162 parse_cover_options (cmdline, options);
7263
7364 // all checks supported by goto_check
7465 PARSE_OPTIONS_GOTO_CHECK (cmdline, options);
7566
76- if (cmdline.isset (" debug-level" ))
77- options.set_option (" debug-level" , cmdline.get_value (" debug-level" ));
78-
79- if (cmdline.isset (" unwindset" ))
80- options.set_option (" unwindset" , cmdline.get_value (" unwindset" ));
81-
82- // constant propagation
83- if (cmdline.isset (" no-propagation" ))
84- options.set_option (" propagation" , false );
85- else
86- options.set_option (" propagation" , true );
87-
88- // all checks supported by goto_check
89- PARSE_OPTIONS_GOTO_CHECK (cmdline, options);
90-
91- // generate unwinding assertions
92- if (cmdline.isset (" cover" ))
93- options.set_option (" unwinding-assertions" , false );
94- else
95- options.set_option (
96- " unwinding-assertions" ,
97- cmdline.isset (" unwinding-assertions" ));
98-
99- // generate unwinding assumptions otherwise
100- options.set_option (" partial-loops" , cmdline.isset (" partial-loops" ));
101-
102- if (options.get_bool_option (" partial-loops" ) &&
103- options.get_bool_option (" unwinding-assertions" ))
104- {
105- log.error () << " --partial-loops and --unwinding-assertions"
106- << " must not be given together" << messaget::eom;
107- exit (1 );
108- }
109-
110- options.set_option (" show-properties" , cmdline.isset (" show-properties" ));
111-
11267 // Options for process_goto_program
11368 options.set_option (" rewrite-union" , true );
11469}
@@ -235,6 +190,8 @@ bool goto_diff_parse_optionst::process_goto_program(
235190 get_cover_config (options, goto_model.symbol_table , ui_message_handler);
236191 if (instrument_cover_goals (cover_config, goto_model, ui_message_handler))
237192 return true ;
193+
194+ goto_model.goto_functions .update ();
238195 }
239196
240197 // label the assertions
@@ -267,8 +224,7 @@ void goto_diff_parse_optionst::help()
267224 " \n "
268225 " Diff options:\n "
269226 HELP_SHOW_GOTO_FUNCTIONS
270- HELP_SHOW_PROPERTIES
271- " --syntactic do syntactic diff (default)\n "
227+ " --show-loops show the loops in the programs\n "
272228 " -u | --unified output unified diff\n "
273229 " --change-impact | \n "
274230 " --forward-impact |\n "
0 commit comments