public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12118] New: Add function attribute that treats C code as plain asm
@ 2003-08-31 21:09 mkgnu at gmx dot net
  2003-09-01  4:49 ` [Bug c/12118] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mkgnu at gmx dot net @ 2003-08-31 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Add function attribute that treats C code as plain asm
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mkgnu at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org

This is a feature request to add a function attribute that allows implementing a
function in C and producing straight machine code for it without any assumptions
that the implementation constitutes a function. i.e There should be no "ret" or
"leave" assembly instruction at the end of such a function. the "noreturn"
attribute currently does not provide this

The need for this is best described in the thread:

http://gcc.gnu.org/ml/gcc-bugs/2003-08/msg02681.html

One should be able to write a routine in C without gcc assuming that the routine
is a function call. Such an attribute should be an improvement on the "noreturn"
attribute.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-09  0:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-31 21:09 [Bug c/12118] New: Add function attribute that treats C code as plain asm mkgnu at gmx dot net
2003-09-01  4:49 ` [Bug c/12118] " pinskia at gcc dot gnu dot org
2003-09-03  2:16 ` mkgnu at gmx dot net
2003-09-18  8:10 ` pinskia at gcc dot gnu dot org
2003-09-18 16:27 ` mkgnu at gmx dot net
2003-10-03 19:40 ` mkgnu at gmx dot net
2004-01-18  0:35 ` dhazeghi at yahoo dot com
2004-06-09  0:54 ` [Bug target/12118] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).