<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 never finishes(or takes a very long time) when -fdelayed-template-parsing is passed"
   href="https://bugs.llvm.org/show_bug.cgi?id=33561">33561</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compilation never finishes(or takes a very long time) when -fdelayed-template-parsing is passed
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>katya.romanova@sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18694" name="attach_18694" title="heavily reduced reproducer">attachment 18694</a> <a href="attachment.cgi?id=18694&action=edit" title="heavily reduced reproducer">[details]</a></span>
heavily reduced reproducer

The compilation of this file hadn't finished in 4 hours. 
Infinite loop? The same test gets compiled in 0.008 seconds if I remove
-fdelayed-template-parsing option.

clang -c -w -std=c++14 -fdelayed-template-parsing test.cpp
clang version 5.0.0 (trunk 304834)

I ran creduce on the original testcase for 3 days and the resulting reproducer
is fairly small compared to the original one.</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>