<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 - Optimizer taking ~forever"
   href="https://bugs.llvm.org/show_bug.cgi?id=50724">50724</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Optimizer taking ~forever
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>12.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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dave@boostpro.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24956" name="attach_24956" title="Single source file">attachment 24956</a> <a href="attachment.cgi?id=24956&action=edit" title="Single source file">[details]</a></span>
Single source file

/tmp ยป clang++ --version
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.5.0
Thread model: posix

'clang++' '-O0' -std=c++11 'gen.cpp' '-o' 'gen.cpp.out'  1.16s user 0.07s
system 98% cpu 1.241 total
'clang++' '-O1' -std=c++11 'gen.cpp' '-o' 'gen.cpp.out'  11.30s user 0.27s
system 99% cpu 11.579 total
'clang++' '-O2' -std=c++11 'gen.cpp' '-o' 'gen.cpp.out'  288.87s user 8.46s
system 99% cpu 4:57.36 total

The attached program takes a really long time to optimize; I think clang should
do better.</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>