Re: -ffreestanding option

2015-05-05 Thread Johannes Pfau via D.gnu
Am Tue, 05 May 2015 11:37:17 + schrieb "Mike" : > So, perhaps in my ignorance, I have to say that I don't need a > -ffreestanding option, but I don't consider myself much of an > expert in this field. If you know of a need for the > -ffreestanding option, please let it be known. > > What I r

Re: GDC generates invalid assembly around fiber yield operations (Not re-reading data from clobberedd memory to registers)

2015-05-05 Thread Liran Zvibel via D.gnu
Hi, Another thing that I noticed about this issue, is that in this isolated test case, the problem only happens if the added value is returned from the function that performs the 'yield()'. If I call 'yield()' directly, then add to 'globalSum', or if I just call 'otherFunc()', ignore the retur

-ffreestanding option

2015-05-05 Thread Mike via D.gnu
Iain recently asked me to let him know what might be needed for a -ffreestanding implementation in GDC. I couldn't really give a good answer, so I tried to spend some more time thinking "What does freestanding mean in D?" It is my understanding that the -ffreestanding switch in C prevents the co