http://llvm.org/bugs/show_bug.cgi?id=8563
Summary: clang hangs while optimizing a snippet of C++ code
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]
At least that is what it looks like.
Compiling the file in question with g++ 4.4:
pipp...@bogus ~ $ time g++ -w -c foo.cpp
real 0m16.027s
user 0m15.492s
sys 0m0.520s
pipp...@bogus ~ $
Compiling it with clang++ (I aborted after a couple of minutes):
pipp...@bogus ~ $ time clang++ -w -c foo.cpp
^C
real 4m26.475s
user 0m0.019s
sys 0m0.010s
pipp...@bogus ~ $
What confuses me is this:
pipp...@bogus ~ $ time clang++ -w -c foo.cpp -o foo.bc -emit-llvm
real 0m4.783s
user 0m4.581s
sys 0m0.198s
pipp...@bogus ~ $ time llc foo.bc -o foo.o
real 0m22.721s
user 0m22.443s
sys 0m0.264s
pipp...@bogus ~ $
Shouldn't one of the former two hang as well?
--
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