Odd behavior in fiber unittest - printf stops optimization crash

Kevin Brogan via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Mar 1 16:20:13 PST 2015


On Sunday, 1 March 2015 at 14:56:18 UTC, Kai Nacke wrote:
> On Sunday, 1 March 2015 at 13:35:54 UTC, Kai Nacke wrote:
>> A context switch with fiber_switchContext looks like a normal 
>> function call to the compiler. The nonvolatile registers must 
>> be preserved. That RDI/RSI are not saved is a bug. Compare 
>> with the function from druntime 2.067: the bug is fixed there.
>
> I pushed this to master. Maybe you wanna try it.
>
> Regards,
> Kai

thanks for the info


More information about the digitalmars-d-ldc mailing list