<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - Compile time extremely long while compiling template"
   href="http://llvm.org/bugs/show_bug.cgi?id=18115">18115</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compile time extremely long while compiling template
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ekiander@netherrealm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=11646" name="attach_11646" title="Code snippet to revela compiler bug">attachment 11646</a> <a href="attachment.cgi?id=11646&action=edit" title="Code snippet to revela compiler bug">[details]</a></span>
Code snippet to revela compiler bug

We noticed this bug while compiling Scaleform for the PS4 and iOS. At first we
thought it might be an SN system bug but then the same bug shows up with XCode
on iOS so we now assume it's something wrong with clang.

Anyways while compiling a file containing mostly templates, the compiler would
hang for a very long time and it would take hours to compile the file. We do
have a workaround by compiling the single file without generating debug info
and also no optimizations. We also duplicated the behavior via a code snippet
which I have attached.</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>