aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/lang.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/lang.opt')
-rw-r--r--gcc/d/lang.opt13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/d/lang.opt b/gcc/d/lang.opt
index 2a92489..298ff58 100644
--- a/gcc/d/lang.opt
+++ b/gcc/d/lang.opt
@@ -1,5 +1,5 @@
; lang.opt -- Options for the D front end.
-; Copyright (C) 2006-2024 Free Software Foundation, Inc.
+; Copyright (C) 2006-2025 Free Software Foundation, Inc.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
@@ -320,10 +320,17 @@ Enum(extern_stdcpp) String(c++17) Value(201703)
EnumValue
Enum(extern_stdcpp) String(c++20) Value(202002)
+EnumValue
+Enum(extern_stdcpp) String(c++23) Value(202302)
+
fignore-unknown-pragmas
D
Ignore unsupported pragmas.
+finclude-imports
+D RejectNegative
+Include imported modules in the compilation.
+
finvariants
D Var(flag_invariants)
Generate code for class invariant contracts.
@@ -400,6 +407,10 @@ fpreview=nosharedaccess
D RejectNegative
Disable access to shared memory objects.
+fpreview=safer
+D RejectNegative
+Enable safety checks on all functions by default.
+
fpreview=rvaluerefparam
D RejectNegative
Enable rvalue arguments to ref parameters.