<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 --- - NewGVN cause clang to crash when compiling neon"
   href="https://llvm.org/bugs/show_bug.cgi?id=31491">31491</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>NewGVN cause clang to crash when compiling neon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>lukebenes@hotmail.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=17787" name="attach_17787" title="Reproducer .c">attachment 17787</a> <a href="attachment.cgi?id=17787&action=edit" title="Reproducer .c">[details]</a></span>
Reproducer .c

Steps to reproduce:
1. Download neon 0.30.0, <a href="http://www.webdav.org/neon/">http://www.webdav.org/neon/</a>
2. export CFLAGS="-O3 -march=native -mllvm -enable-newgvn"
3. ./autogen.sh &&& ./configure && make

Output:

/include/mit-krb5 -I.. -DNE_PRIVATE=extern -O3 -march=native -mllvm
-enable-newgvn -prefer-pic -c ne_auth.c -o ne_auth.lo
clang-4.0: error: unable to execute command: Killed
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 290647)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
clang-4.0: 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.
clang-4.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-4.0: note: diagnostic msg: /tmp/ne_auth-4a6c83.c
clang-4.0: note: diagnostic msg: /tmp/ne_auth-4a6c83.sh</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>