[Bug d/95250] [D] ICE instead of error when trying to use bad template type inside template
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 26 13:50:58 GMT 2020
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
<ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:57096f5c52be8c5f0c29663234f31845bb172216
commit r9-8701-g57096f5c52be8c5f0c29663234f31845bb172216
Author: Iain Buclaw <ibuclaw@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)
More information about the Gcc-bugs
mailing list