https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95250
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:95f5dc7f70b09def9f2002f5cbef986b21d456e3 commit r10-8373-g95f5dc7f70b09def9f2002f5cbef986b21d456e3 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)