iphone + LDC, a new ARM adventure

Kai Nacke kai at redstar.de
Tue Jan 21 11:02:55 PST 2014


On Tuesday, 21 January 2014 at 11:50:59 UTC, Kai Nacke wrote:
> Hi Dan!
>
> On Tuesday, 21 January 2014 at 09:09:37 UTC, Dan Olson wrote:
>> [...]
>> I am seeing many assertions and segvs.  The four triples I am 
>> working
>> with are: armv7-apple-darwin, thumbv7-, armv6-, and thumbv6-.
>> [...]
>
> Thanks for the examples. I'll have a look at it this evening. 
> Maybe I can create reduced test cases.
>
> Regards,
> Kai

This code

import ldc.intrinsics;

real cos(real x) @safe pure nothrow { return llvm_cos(x); }

crashes ldc if compiled with -c -mtriple=armv7-apple-darwin.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list