https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125311

--- Comment #8 from anlauf at gcc dot gnu.org ---
We are apparently hit by the D options.  I have not enabled it locally, but

diff --git a/gcc/d/lang.opt b/gcc/d/lang.opt
index 2fbab2f8863..0dce76c0472 100644
--- a/gcc/d/lang.opt
+++ b/gcc/d/lang.opt
@@ -220,8 +220,8 @@ D Var(flag_no_builtin, 0)
 fcheck=assert
 D Alias(fassert)

-fcheck=bounds
-D Alias(fbounds-check)
+;fcheck=bounds
+;D Alias(fbounds-check)

 fcheck=in
 D Alias(fpreconditions)


fixes it for me.


Re: workaround: adding a comma

  -fcheck=bounds,

also prevents the problem to trigger.

Reply via email to