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

mkgnu at gmx dot net gcc-bugzilla@gcc.gnu.org
Mon Sep 15 17:41:00 GMT 2003


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.



More information about the Gcc-bugs mailing list