> void savectx(struct pcb *); > > Does that sound like anything with a relation to setjmp?
The only relation important in here is returning twice. > I don't believe in cargo cult programming, so this doesn't exactly sound > like a good reason for keeping it. In which case gcc can drop it too. Since these are usually obscure functions, it in nice to ask there too. >> What does savectx do on your system? > > It's an internal function, used to synchronise some data structure > before creating a new thread, exposed to userland for various (slightly > broken...) reasons. Do you have a pointer? Looking around and asking on #gcc, it looks like it is just a BSD version of int getcontext(ucontext_t *ucp); so it does return twice. The data structure being the continuation so that user space threads can be implemented. Given that it does look like the correct fix is to correct the signature in Builtins.def. > Joerg Cheers, Rafael _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
