Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: static link csh/tcsh dumps core



On Mon, Mar 11, 2013 at 11:37:19AM +0000, Christos Zoulas wrote:
> I think that it is not relevant if $29 is considered a scratch register
> or not. If the compiler is using it in a function that calls setjmp()
> and longjmp(), then there should be agreement between the compiler and
> the library authors on who is responsible for saving and restoring it.
> In this case, it seems just simpler to go the conservative way and fix
> setjmp/longjump instead of messing with the compiler.

Well, setjmp/loongjmp is just one case at hand where we see the lossage.
We don't currently know how much other fallout there is, so the compiler
needs fixing anyway.

Martin


Home | Main Index | Thread Index | Old Index