https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95250
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:57096f5c52be8c5f0c29663234f31845bb172216 commit r9-8701-g57096f5c52be8c5f0c29663234f31845bb172216 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Tue Jun 23 22:43:27 2020 +0200 d: Fix ICE during error recovery in semantic pass Fixes a regression caused by an incomplete backport of converting the Expression semantic pass to a Visitor. gcc/d/ChangeLog: PR d/95250 * dmd/expressionsem.c (class ExpressionSemanticVisitor): Return early if error occurred during semantic of DivExp. gcc/testsuite/ChangeLog: PR d/95250 * gdc.dg/pr95250.d: New test. (cherry picked from commit 1d19c9cd3dd99ba8885c0fc93223918399f73939)