<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 --- - "fatal error: error in backend" code with exceptions in clang for msvc in Release x64 configuration"
   href="https://llvm.org/bugs/show_bug.cgi?id=25307">25307</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"fatal error: error in backend" code with exceptions in clang for msvc in Release x64 configuration
          </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>Windows NT
          </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>adamf88@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=15151" name="attach_15151" title="Sample code to reproduce the error">attachment 15151</a> <a href="attachment.cgi?id=15151&action=edit" title="Sample code to reproduce the error">[details]</a></span>
Sample code to reproduce the error

I used the most recent build available to download:
LLVM-3.8.0-r250698-win32.exe

If I try to compile attached code in Visual Studio 2010 (using Platform
Toolset: LLVM-vs2010, Configuration: Release and Platform: x64) then I get an
error:

CL : fatal error : error in backend: assembler label '.LBB0_-1' can not be
undefined

I can reproduce it only in configuration Release x64 with O2 flag.
I know exceptions aren't ready yet for MSVC, but maybe this scenario will be
helpful.</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>