[Bug target/50242] __attribute__((naked)) is not implemented on IA32 (x86)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 31 17:12:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50242

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-31 16:10:59 UTC ---
You can define whole functions in toplevel asms, like:
asm (".globl foobar; .type foobar, @function;\n"
     "foobar: whatever; ret; .size foobar, . - foobar;\n");



More information about the Gcc-bugs mailing list