aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lang.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/lang.opt')
-rw-r--r--gcc/rust/lang.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt
index 0e9aab4..9cdbce2 100644
--- a/gcc/rust/lang.opt
+++ b/gcc/rust/lang.opt
@@ -225,4 +225,8 @@ Enum(frust_panic) String(unwind) Value(0)
EnumValue
Enum(frust_panic) String(abort) Value(1)
+frust-overflow-checks
+Rust Var(flag_overflow_checks) Init(1)
+Enable the overflow checks in code generation
+
; This comment is to ensure we retain the blank line above.