https://bugzilla.gdcproject.org/show_bug.cgi?id=266
--- Comment #4 from Johannes Pfau <johannesp...@gmail.com> --- Actually there's one more thing to watch out for: The ARM code does not save & restore the link register. The context switch is supposed to also switch the 'call stack' so this is invalid as well, as the function will return to the original caller and not the caller belonging to the newp* argument. Nevertheless, an intrinsic approach would be much cleaner and the compiler already knows all required backend / ABI information anyway. So maybe once we're merged into GCC we can introduce a new __builtin_switch_context for this? Actually, shouldn't Go have something similar for their goroutine stuff? -- You are receiving this mail because: You are watching all bug changes.