[LLVMbugs] [Bug 18115] New: Compile time extremely long while compiling template

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 2 11:32:56 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18115

            Bug ID: 18115
           Summary: Compile time extremely long while compiling template
           Product: clang
           Version: 3.3
          Hardware: Other
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ekiander at netherrealm.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11646
  --> http://llvm.org/bugs/attachment.cgi?id=11646&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131202/ee85b0f7/attachment.html>


More information about the llvm-bugs mailing list