Skip to content

Commit 4f73590

Browse files
authored
Merge pull request #8315 from diffblue/mod-by-zero-is-fatal
mod-by-zero is now fatal
2 parents ce7965b + 15f67b4 commit 4f73590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/goto-conversion/goto_check_c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ void goto_check_ct::mod_by_zero_check(
649649
inequality,
650650
"division by zero",
651651
"division-by-zero",
652-
false, // fatal
652+
true, // fatal
653653
expr.find_source_location(),
654654
expr,
655655
guard);

0 commit comments

Comments
 (0)