[llvm-bugs] [Bug 45303] New: __builtin_thread_pointer makes clang crash

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 25 09:36:39 PDT 2020


            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: unassignedbugs at nondot.org
          Reporter: kamleshbhalui at gmail.com
                CC: asb at lowrisc.org, llvm-bugs at lists.llvm.org

consider the below testcase

$cat test.c

void foo(){
char *p=__builtin_thread_pointer();

$./clang -target riscv64 test.c -S


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/20200325/09e998dc/attachment.html>

More information about the llvm-bugs mailing list