https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139
Bug ID: 106139 Summary: d: aggregate value used where floating point was expected Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Casting from vector to static array is permitted, and the frontend generates a reinterpret cast, but casting back the other way results in an error. --- __vector(int[4]) vec = [1,2,3,4]; int[4] arr; arr = cast(int[4])vec; // OK vec = cast(__vector(int[4]))arr; // Error