[dmd-internals] Testcase in test42.d

Walter Bright walter at digitalmars.com
Fri Apr 5 13:23:47 PDT 2013


On 4/5/2013 12:24 PM, David Nadlinger wrote:
> On 5 Apr 2013, at 21:16, Walter Bright wrote:
>> I am reluctant to change that, because it would break existing code.
>
> Change what? As far as I can see, the test case and any code that relies on 
> that behavior is simply invalid given the "like the host C compiler" clause. 
> Chances are that any such "existing" code doesn't work (reliably) on GDC and 
> LDC today.
>
> If you want different behavior, you *do* have to change the spec.

This behavior was a frequent request from those doing SIMD code, which is why 
it's there, and why I'm reluctant to remove it and break their code.


More information about the dmd-internals mailing list