[LLVMbugs] [Bug 11151] New: 'aligned' attribute ignored when parsing type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 17 01:20:44 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=11151
Summary: 'aligned' attribute ignored when parsing type
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: xuzhongxing at gmail.com
CC: llvmbugs at cs.uiuc.edu
When compiling the Linux kernel, I met the following error:
crypto/shash.c:68:56: error: 'aligned' attribute ignored when parsing type
return len + (mask & ~(__alignof__(u8 __attribute__ ((aligned))) - 1));
^~~~~~~
GCC accepts it. It is necessary to make it an error, instead of a warning?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list