<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 - layer2/RepCylBond.cpp exposes compiler ICE for -O1 or higher without -fno-strict-aliasing"
   href="https://bugs.llvm.org/show_bug.cgi?id=37280">37280</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>layer2/RepCylBond.cpp exposes compiler ICE for -O1 or higher without -fno-strict-aliasing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>howarth.mailing.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The recent code for layer2/RepCylBond.cpp has exposed a clang compiler ICE on
Darwin.

7 warnings generated.
fatal error: error in backend: Unsupported expression in static initializer:
fsub (float 1.000000e+00, float undef)
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-6.0/bin

This issue occurs reportedly is present with Xoode's clang circa OS X 10.9 and
is confirmed in llvm.org's clang since at least clang 4.0 up to clang 6.0. The
issue doesn't occur for the -O0 or no optimization flags but does occur for -O1
or higher. The compiler ICE is suppressed however if -fno-strict-aliasing is
passed to the compiler.</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>