<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 --- - clang hangs while compiling tiff"
   href="https://llvm.org/bugs/show_bug.cgi?id=30923">30923</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang hangs while compiling tiff
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>All
          </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>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>raj.khem@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=17559" name="attach_17559" title="Preprocessed test case (compressed with tar and bzip2)">attachment 17559</a> <a href="attachment.cgi?id=17559&action=edit" title="Preprocessed test case (compressed with tar and bzip2)">[details]</a></span>
Preprocessed test case (compressed with tar and bzip2)

This is very recent that it now hangs while compiling the attached file on
x86_64 using these cmdline arguments



/mnt/oe/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/clang-4.0
-cc1 -triple x86_64-oe-linux -S -o a.s -x c ~/a.c -vectorize-slp -O2
-target-cpu corei7


if I remove -vectorize-slp it works and also when removing -target-cpu corei7
it works.

here is clang information

clang version 4.0.0 (git://github.com/llvm-mirror/clang.git
80464680ce2ae47d30b9a404597643e5d8bf6bba)
(git://github.com/llvm-mirror/llvm.git
ae152bde495ec05ab6064e5336f3fd5344dbe0e7)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/mnt/oe/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/usr/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64</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>