This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
using pragma saveall
- From: Massimiliano Cialdi <cialdi at firenze dot net>
- To: gnuh8 at gnuh8 dot org dot uk
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 28 Feb 2003 12:46:46 +0100
- Subject: using pragma saveall
- Organization: Starfleet
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 at firenze dot net
m dot cialdi at oksys dot it
cialdi at control dot dsi dot unifi dot it