https://bugs.llvm.org/show_bug.cgi?id=45303
Bug ID: 45303
Summary: __builtin_thread_pointer makes clang crash
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: RISC-V
Assignee: unassignedb...@nondot.org
Reporter: kamleshbha...@gmail.com
CC: a...@lowrisc.org, llvm-bugs@lists.llvm.org
consider the below testcase
$cat test.c
void foo(){
char *p=__builtin_thread_pointer();
}
$./clang -target riscv64 test.c -S
Crashes
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs