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

--- 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:412068819b463751ef476183077638b3429213de

commit r10-8637-g412068819b463751ef476183077638b3429213de
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Fri Jul 24 13:49:37 2020 +0200

    d: Fix ICE Segmentation fault during RTL pass: expand on armhf/armel/s390x

    gcc/d/ChangeLog:

            PR d/96301
            * decl.cc (DeclVisitor::visit (FuncDeclaration *)): Only return
            non-trivial structs by invisible reference.

    gcc/testsuite/ChangeLog:

            PR d/96301
            * gdc.dg/pr96301a.d: New test.
            * gdc.dg/pr96301b.d: New test.
            * gdc.dg/pr96301c.d: New test.

    (cherry picked from commit 6bebbc033d8bf2246745ffef7186b0424e08ba6b)

Reply via email to