<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 - Access Violation Error when throwing exception with clang-cl, gtest and exception"
   href="https://bugs.llvm.org/show_bug.cgi?id=43977">43977</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Access Violation Error when throwing exception with clang-cl, gtest and exception
          </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>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>feildel@corona-renderer.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22799" name="attach_22799" title="Test case">attachment 22799</a> <a href="attachment.cgi?id=22799&action=edit" title="Test case">[details]</a></span>
Test case

We've hit a very specific bug while running our unit tests compiled with
clang-10. I have been able to isolate the bug in a self contained project
shared as attachments. You can find a rudimentary build script and some
instructions to build an executable that can reproduce the access violation
error.

The test has been reduced as much as possible as far as I could test everything
is needed to reproduce the conditions to create the Access Violation Error.

It seems that the following features use in combination are creating the
situation where clang (or LLVM) generates the wrong code:

- goto
- SSE intrisics
- Forced inlining

I tested again clang-cl build on my machine from git revision
1c616a9266bd829ea8915617ff83244df45a31c8 in repo
<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>

Let me know if you need more information.
B. Feildel</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>