https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123419
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <[email protected]>: https://gcc.gnu.org/g:ddf94524f9accb47c1fc59191739ec34c5907eb8 commit r16-7125-gddf94524f9accb47c1fc59191739ec34c5907eb8 Author: Iain Buclaw <[email protected]> Date: Wed Jan 28 23:06:23 2026 +0100 d: Fix ICE in ExprVisitor::visit, at d/expr.cc:2224 [PR123419] The original assert expected the type of `__traits(initSymbol)' to be exactly `const(void[])', but because D strips const from arrays to allow passing slices as mutable ranges to template functions, so it got turned into `const(void)[]'. PR d/123419 gcc/d/ChangeLog: * expr.cc (ExprVisitor::visit (VarExp *)): Adjust assertion. gcc/testsuite/ChangeLog: * gdc.dg/pr123419.d: New test.
