[llvm-bugs] [Bug 31818] New: No support for gcc "alloc_align"	function attribute
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Tue Jan 31 08:29:42 PST 2017
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=31818
            Bug ID: 31818
           Summary: No support for gcc "alloc_align" function attribute
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marina.yatsina at intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified
The following compiles with gcc 6.3 but doesn't compile with llvm:
void* my_memalign(int, int) __attribute__((alloc_align(1)));
The alloc_align attribute documentation can be found here:
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Attributes.html
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170131/9638b4c5/attachment.html>
    
    
More information about the llvm-bugs
mailing list