https://bugs.llvm.org/show_bug.cgi?id=45813
Bug ID: 45813
Summary: Using __builtin_assume_aligned with alignment
sanitizer leads to a crash in clang
Product: clang
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Created attachment 23449
--> https://bugs.llvm.org/attachment.cgi?id=23449&action=edit
main.c
Trying to compile the following code in Ubuntu 18.04 with command clang-9
-fsanitize=alignment main.c leads to a crash:
int main(void)
{
__attribute__((aligned(16))) int data[4];
__builtin_assume_aligned(data, 16);
}
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs