<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 - trunk: -mcmodel=medium and thread local cause select failure"
   href="https://bugs.llvm.org/show_bug.cgi?id=35810">35810</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>trunk: -mcmodel=medium and thread local cause select failure
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eric.schweitz@pgroup.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19621" name="attach_19621" title="bitcode to reproduce">attachment 19621</a> <a href="attachment.cgi?id=19621&action=edit" title="bitcode to reproduce">[details]</a></span>
bitcode to reproduce

% clang -mcmodel=medium bug.bc
fatal error: error in backend: Cannot select: t10: i64 = X86ISD::WrapperRIP
      TargetGlobalTLSAddress:i64<i32* @i> 0 [TF=10]
  t9: i64 = TargetGlobalTLSAddress<i32* @i> 0 [TF=10]
In function: foo
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (<a href="http://llvm.org/git/clang.git">http://llvm.org/git/clang.git</a>
40e9a74cba88c271af3407dad30006386881097b) (<a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a>
981877461a4a4387994841065d35f4897fe8dfeb)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/clang/clang-latest/bin
clang-6.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-6.0: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.</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>