[Bug c/12118] Add function attribute that treats C code as plain asm
mkgnu at gmx dot net
gcc-bugzilla@gcc.gnu.org
Thu Sep 18 16:27: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=12118
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 16:00 -------
Reopening bug.
I kindly request you give this feature some more thought and open it to
discussion with other GCC developers, CCing me on the discussion.
Again, you should NOT have to write asm for something that could be plainly
written in C. One should have the option of telling gcc how to do generate code
with respect to the registers that will be used, just like regparms is used to
tell gcc to expect its arguments in registers, and stdcall to expect arguments
on stack. I don't see how telling gcc to preserve the state of registers is any
different.
I see value in a feature as this. I'd rather you assign this bug the lowest
priority rather than close it. But please discuss this with other developers.
More information about the Gcc-bugs
mailing list