File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -215,17 +215,19 @@ void goto_convertt::finish_gotos(goto_programt &dest)
215215
216216 if (!stack_is_prefix)
217217 {
218- warning () << " Encountered goto (" << goto_label <<
219- " ) that enters one or more lexical blocks;" <<
220- " omitting constructors and destructors." << eom;
218+ debug ().source_location =i.code .find_source_location ();
219+ debug () << " encountered goto `" << goto_label
220+ << " ' that enters one or more lexical blocks; "
221+ << " omitting constructors and destructors" << eom;
221222 }
222223 else
223224 {
224225 auto unwind_to_size=label_stack.size ();
225226 if (unwind_to_size<goto_stack.size ())
226227 {
227- status () << " Adding goto-destructor code on jump to " <<
228- goto_label << eom;
228+ debug ().source_location =i.code .find_source_location ();
229+ debug () << " adding goto-destructor code on jump to `"
230+ << goto_label << " '" << eom;
229231 goto_programt destructor_code;
230232 unwind_destructor_stack (
231233 i.code .add_source_location (),
You can’t perform that action at this time.
0 commit comments