This is the mail archive of the gcc-bugs@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]

[Bug c/12284] Add feature of preserving processor state in functions written in C


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.


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