Open Quuxplusone opened 11 years ago
Bugzilla Link | PR17698 |
Status | NEW |
Importance | P normal |
Reported by | Óscar Fuentes (ofv@wanadoo.es) |
Reported on | 2013-10-25 14:09:14 -0700 |
Last modified on | 2019-07-11 15:52:57 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | jryans@gmail.com, llvm-bugs@lists.llvm.org, rafael@espindo.la |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Forgot to mention that compiling the preprocessed source halves the compile time. That is, preprocessing and then compiling the resulting output takes half the time of compiling the original file.
-fno-spell-checking makes the slowness go away.
Just to add one more data point to this issue: after making a simple change on a C++ source file, clang seemed stuck while compiling it. After 2 minutes I killed the process thinking that it was in a infinite loop. Then remembered this issue and tried to compile with g++. Sure enough, there was a typo introduced by the change. After fixing the typo clang compiled the C++ file in a few seconds.