<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Compiler crash when compiling atomic.c in compiler-rt."
   href="https://llvm.org/bugs/show_bug.cgi?id=28947">28947</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiler crash when compiling atomic.c in compiler-rt.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kiida2008@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16937" name="attach_16937" title="preprocessed atomic.c and run script">attachment 16937</a> <a href="attachment.cgi?id=16937&action=edit" title="preprocessed atomic.c and run script">[details]</a></span>
preprocessed atomic.c and run script

When clang(target: ARM, host: msys2 32bit) compiling atomi.c in compiler-rt,
clang abort doe to signal.
Follows are error message.

===========================================================
Compiling ../../lib/compiler-rt/lib/builtins/atomic.c
0x6821C409 (0x0381B9E0 0x7730EA06 0x037AB000 0x00000023),
_ZN4llvm12MachineInstr10addOperandERNS_15MachineFunctionERKNS_14MachineOperandE()
+ 0x9 bytes(s)
arm-eabihf-clang.exe: error: clang frontend command failed due to signal (use
-v to see invocation)
clang version 3.8.0 (tags/RELEASE_381/final)
Target: arm---eabihf
Thread model: posix
InstalledDir: C:\msys32\mingw32\bin
arm-eabihf-clang.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
arm-eabihf-clang.exe: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
arm-eabihf-clang.exe: note: diagnostic msg: C:\msys32\tmp\atomic-adf706.c
arm-eabihf-clang.exe: note: diagnostic msg: C:\msys32\tmp\atomic-adf706.sh
arm-eabihf-clang.exe: note: diagnostic msg:

===========================================================</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>