<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 rGab9fc8bae805 crashes when building the Linux kernel"
   href="https://bugs.llvm.org/show_bug.cgi?id=47162">47162</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang rGab9fc8bae805 crashes when building the Linux kernel
          </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>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>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>david.bolvansky@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>samitolvanen@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, ndesaulniers@google.com, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23850" name="attach_23850" title="tty_io-98ae38 crash reproducer">attachment 23850</a> <a href="attachment.cgi?id=23850&action=edit" title="tty_io-98ae38 crash reproducer">[details]</a></span>
tty_io-98ae38 crash reproducer

Starting with commit ab9fc8bae805c785066779e76e7846aabad5609e, clang crashes
when building the ToT x86 Linux kernel:

  CC      drivers/tty/tty_io.o
fatal error: error in backend: Cannot emit physreg copy instruction
clang-12: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 12.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
ab9fc8bae805c785066779e76e7846aabad5609e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/usr/local/google/home/samitolvanen/src/unified-llvm/build.ab9fc8bae805c785066779e76e7846aabad5609e/bin
clang-12: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-12: note: diagnostic msg: /tmp/tty_io-98ae38.c
clang-12: note: diagnostic msg: /tmp/tty_io-98ae38.sh
clang-12: note: diagnostic msg: 

********************

The previous commit works. The preprocessed source and the run script are
attached.</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>