https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100964
Bug ID: 100964 Summary: d: TypeInfo error when using slice copy on Structs with -fno-rtti Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Example test: --- //flags: -fno-druntime struct A{} extern(C): void main() { int* x; x[0 .. 0] = x[0 .. 0]; //OK A* a; a[0 .. 0] = a[0 .. 0]; //Error: TypeInfo cannot be used with -fno-rtti }