https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100964
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:10d4f283f4177d80cec3c9e8bf447a48cab5bb47 commit r11-8536-g10d4f283f4177d80cec3c9e8bf447a48cab5bb47 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 036e14ca44eaddf329a79d56d556862118b1f220)