[llvm-bugs] [Bug 34020] New: Crash while building compiler-rt/lib/builtins/atomic.c

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 1 07:49:17 PDT 2017


            Bug ID: 34020
           Summary: Crash while building compiler-rt/lib/builtins/atomic.c
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Catherine_Moore at mentor.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18886
  --> https://bugs.llvm.org/attachment.cgi?id=18886&action=edit
Preprocesed source

This file compiled successfully with LLVM 4.0, but now crashes when compiled
with 5.0 and trunk.  The errors reported are:

fatal error: error in backend: Cannot select: t7: i32,ch = AtomicSwap<Volatile
LDST4[%21]> t4:1, t6, t4
  t6: i32,ch = CopyFromReg t0, Register:i32 %vreg1
    t5: i32 = Register %vreg1
  t4: i32,ch = load<LD4[%.atomictmp2](dereferenceable)> t0, FrameIndex:i32<7>,
    t1: i32 = FrameIndex<7>
    t3: i32 = undef
In function: __atomic_exchange_c
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (trunk) (llvm/trunk 309605)
Target: arm-none--eabi
Thread model: single
InstalledDir: /scratch/cmoore/virgin-llvm-upstream-trunk/install-stage2/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed s          
 ource, and associated run script.
clang-6.0: note: diagnostic msg:

Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/atomic-d9e982.c
clang-6.0: note: diagnostic msg: /tmp/atomic-d9e982.sh
clang-6.0: note: diagnostic msg:

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/20170801/5466c239/attachment-0001.html>

More information about the llvm-bugs mailing list