Large number of tests failing - 64bit LDC with MSVC - Append Operator

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Feb 25 12:32:52 PST 2015


On Wednesday, 25 February 2015 at 13:06:31 UTC, Daniel Murphy 
wrote:
> "Kevin Brogan"  wrote in message 
> news:duzfvxzdoadpoxkxacuz at forum.dlang.org...
>
>> I've been able to successfully build LDC on 64 bit windows 
>> using msvc, but I've noticed that a large number of test 
>> suites fail with a segmentation fault instead of a regular 
>> error result.
>>
>> I've been able to determine that many of the segmentation 
>> faults is due to the append operator.
>>
>> The fault only occurs when using a variable, and only when two 
>> append operators are used in the same statement.
>>
>> I was wondering if anyone can replicate this in their 
>> environment or have an idea of how to determine the cause.
>
> The druntime function that implements the append operator uses 
> variadic arguments (at least it does in DMD), so I would guess 
> this is a symptom of them being broken on win64/LDC.

I merged the new vararg code yesterday. The example does not 
crash for me.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list