[Bug 114] Add support for the GCC 'naked' attribute
    gdc-bugzilla at gdcproject.org 
    gdc-bugzilla at gdcproject.org
       
    Sat Apr  5 01:17:43 PDT 2014
    
    
  
http://bugzilla.gdcproject.org/show_bug.cgi?id=114
Johannes Pfau <johannespfau at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|ibuclaw at gdcproject.org      |johannespfau at gmail.com
--- Comment #1 from Johannes Pfau <johannespfau at gmail.com> ---
Created attachment 64
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=64&action=edit
Patch to add @attribute("naked")
Can you test this patch please?
(I was kinda surprised it didn't have an effect on x86 till I read that it's
only supported on some architectures and not on x86...)
@Iain
Do you think we should include such system-specific attributes? Naked is also
special in that dmd already has a 'generic' syntax for it, but it's tied to
DMD-style inline asm.
I also had to add a noclone attribute because naked automatically sets noclone.
Do you think we should somehow hide 'noclone' from @attribute / user code?
-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140405/b26f716b/attachment.html>
    
    
More information about the D.gnu
mailing list