using pragma saveall

Massimiliano Cialdi cialdi@firenze.net
Fri Feb 28 11:46:00 GMT 2003


How can I use #pragma saveall?

suppose I have a function dummy and I want oll register saved.

#pragma saveall(dummy)

int dummy(/* parameters */)
{
/* body */
}


I tried in this way and also without pragma line and the results are the
same. I compared the assembly source code produced with and without
#pragma saveall and there is no difference. So how can I use the
saveall?


thanks

-- 
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it
cialdi@control.dsi.unifi.it



More information about the Gcc-help mailing list