[Issue 20042] __vector CTFE crashes the compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 10 23:14:23 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20042

--- Comment #3 from thomas.bockman at gmail.com ---
The top priority is to make sure that the compiler doesn't pretend to support
operations in CTFE which don't actually work right. So, your proposal is
acceptable, and definitely better than delaying action on this bug and 20041.

However, it would be nice if this actually worked, too. Seeing as the runtime
in-memory layout of __vector(float[4]) and regular float[4] is identical, I'd
hope that the CTFE machinery for the latter could be applied to both fairly
easily.

--


More information about the Digitalmars-d-bugs mailing list