public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* using pragma saveall
@ 2003-02-28 11:46 Massimiliano Cialdi
  2003-02-28 12:27 ` Nathan Sidwell
  0 siblings, 1 reply; 3+ messages in thread
From: Massimiliano Cialdi @ 2003-02-28 11:46 UTC (permalink / raw)
  To: gnuh8; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using pragma saveall
  2003-02-28 11:46 using pragma saveall Massimiliano Cialdi
@ 2003-02-28 12:27 ` Nathan Sidwell
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan Sidwell @ 2003-02-28 12:27 UTC (permalink / raw)
  To: Massimiliano Cialdi; +Cc: gnuh8, gcc-help

Massimiliano Cialdi wrote:
> How can I use #pragma saveall?
GCC has no such pragma

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: using pragma saveall
@ 2003-03-03 10:41 GNU Support
  0 siblings, 0 replies; 3+ messages in thread
From: GNU Support @ 2003-03-03 10:41 UTC (permalink / raw)
  To: Massimiliano Cialdi, gnuh8; +Cc: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Hi Massimiliano,
We have attached a sample program indicating usage of saveall pragma.
Please have a look at the generated assembly files.
Regards,
GNUSupport

-----Original Message-----
From: Massimiliano Cialdi [mailto:cialdi@firenze.net]
Sent: Friday, February 28, 2003 5:17 PM
To: gnuh8@gnuh8.org.uk
Cc: gcc-help@gcc.gnu.org
Subject: 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@firenze.net
m.cialdi@oksys.it
cialdi@control.dsi.unifi.it

-- 
GNUH8 Mailing List | If you encounter difficulties using this service
                   | email: listmaster@gnuh8.org.uk
                   | http://www.gnuh8.org.uk/

[-- Attachment #2: saveall.zip --]
[-- Type: application/x-zip-compressed, Size: 1104 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-03 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-28 11:46 using pragma saveall Massimiliano Cialdi
2003-02-28 12:27 ` Nathan Sidwell
2003-03-03 10:41 GNU Support

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).