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

--- Comment #2 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:40af8b2eff82f28d83b2a5fe153cbc53af665956

commit r10-8711-g40af8b2eff82f28d83b2a5fe153cbc53af665956
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Fri Sep 4 22:54:22 2020 +0200

    d: Fix ICE in create_tmp_var, at gimple-expr.c:482

    Array concatenate expressions were creating more SAVE_EXPRs than what
    was necessary.  The internal error itself was the result of a forced
    temporary being made on a TREE_ADDRESSABLE type.

    gcc/d/ChangeLog:

            PR d/96924
            * expr.cc (ExprVisitor::visit (CatAssignExp *)): Don't force
            temporaries needlessly.

    gcc/testsuite/ChangeLog:

            PR d/96924
            * gdc.dg/pr96924.d: New test.

    (cherry picked from commit 52908b8de15a1c762a73063f1162bcedfcc993b4)

Reply via email to