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

mkgnu at gmx dot net gcc-bugzilla@gcc.gnu.org
Thu Sep 18 16:07: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


mkgnu at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


------- Additional Comments From mkgnu at gmx dot net  2003-09-18 15:55 -------
Reopening bug. 

Please give a fair thought to this and don't casually dismiss it without input
from others. The whole point of requesting this feature is that conceptually you
shouldn't have to EVER write anything that is  architecture independent in asm.
When you write in C you should have the option of telling gcc what do to in the
lower level.

Otherwise how do you justify the function attributes "stdcall" in i386, and
regparms predominantly used in the linux kernel ?? I don't think people would be
happy to implement all system calls in asm if stdcall was nat there.

This is a similar feature, and I kindly request that you open this to discussion
with others, CCing me.



More information about the Gcc-bugs mailing list