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

           Summary: Compiling a single file takes several minutes
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=7076)
 --> (http://llvm.org/bugs/attachment.cgi?id=7076)
Problematic file

When building the attached file using
clang++ -g -O2 -c -o mp_comba.o  ./mp_comba.cpp

the compile takes several minutes to complete.

This seems to be related to the combination of -O2 and -g as both of the
following commands complete rather fast:
clang++ -O2 -c -o mp_comba.o  ./mp_comba.cpp
clang++ -g -O1 -c -o mp_comba.o  ./mp_comba.cpp

The result of this issue is that clang is no longer an option to build Qt or Qt
Creator with: In both projects there are several files like this one!

This issue is a regression: My last checkout from last month did not have this
issue.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to