<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 - Compilation doesn't terminate with -ffp-model=strict, -float-abi=hard, and --target=armeb-none-eabihf"
   href="https://bugs.llvm.org/show_bug.cgi?id=44776">44776</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compilation doesn't terminate with -ffp-model=strict, -float-abi=hard, and --target=armeb-none-eabihf
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jjaoudi@waymo.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org, Ties.Stuij@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Trying to compile:

"""
#include <cmath>

int Foo(float a) {
  if (a / nan("")) return 0;
  return 1;
}
"""

never terminates, with the given flags:

-mbig-endian
-mcpu=cortex-r4
-mthumb
-mfpu=vfpv3-d16
-mfloat-abi=hard
--target=armeb-none-eabihf
-ffp-model=strict

Changing the fp-model to precise or float-abi to soft allows compilation to
terminate. The issue appears to related to exceptions with hard-float.</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>