<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 - fatal error: error in backend: Cannot emit physreg copy instruction"
   href="https://bugs.llvm.org/show_bug.cgi?id=41678">41678</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fatal error: error in backend: Cannot emit physreg copy instruction
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21856" name="attach_21856" title="Runscript.">attachment 21856</a> <a href="attachment.cgi?id=21856&action=edit" title="Runscript.">[details]</a></span>
Runscript.

I am running into the following bug when compiling DynamoRIO with clang-7.

fatal error: error in backend: Cannot emit physreg copy instruction
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 7.0.1-6 (tags/RELEASE_701/final)
Target: i386-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang: note: diagnostic msg: 
********************

clang-7 --version
clang version 7.0.1-6 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

cat /proc/version
Linux version 4.19.28-2rodete1-amd64 (<a href="mailto:glinux-team@google.com">glinux-team@google.com</a>) (gcc version
8.0.1 20180218 (experimental) [trunk revision 257787] (Debian 8-20180218-1)) #1
SMP Debian 4.19.28-2rodete1 (2019-03-18 > 2018)

The runscript is attached.
The pre-processed source (big) is here:
<a href="https://drive.google.com/open?id=1xsEmVmsC020e_fiSK4FqfaHPtUWccz5D">https://drive.google.com/open?id=1xsEmVmsC020e_fiSK4FqfaHPtUWccz5D</a></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>