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

--- 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:d660f34b6718c5f107fd1f1a2126aec759a6593b

commit r10-9899-gd660f34b6718c5f107fd1f1a2126aec759a6593b
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Wed Jun 9 19:39:28 2021 +0200

    d: TypeInfo error when using slice copy on Structs (PR100964)

    Known limitation: does not work for struct with postblit or dtor.

    gcc/d/ChangeLog:

            PR d/100964
            * dmd/expression.c (Expression::checkPostblit): Don't generate
            TypeInfo when RTTI is disabled.

    gcc/testsuite/ChangeLog:

            PR d/100964
            * gdc.test/compilable/betterCarray.d: Add test cases.

    (cherry picked from commit 10d4f283f4177d80cec3c9e8bf447a48cab5bb47)

Reply via email to