This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

using pragma saveall


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]