This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12284] Add feature of preserving processor state in functions written in C
- From: "mkgnu at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2003 17:38:59 -0000
- Subject: [Bug c/12284] Add feature of preserving processor state in functions written in C
- References: <20030915052922.12284.mkgnu@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12284
------- Additional Comments From mkgnu at gmx dot net 2003-09-15 17:38 -------
-fcall-used-reg seems to be the opposite actually.
-fcall-saved-reg seems to be closer to what I want, but I shouldn't have to
specify which register should be saved. I don't know which one is and looking in
the generated asm to figure out which one is contradicts the fact that I'm
trying to write a function in C. Only gcc knows which register will be used asd
should be saved.