[cfe-dev] linking and stripping compared to GCC 4.4

Luc Bourhis luc_j_bourhis at mac.com
Mon Nov 29 15:16:47 PST 2010


> You really have to compare on the same machine in the same config to do a useful comparison

So I have installed clang trunk on the very same machine where I ran gcc 4.4. Compiling the very same demo.cpp, here is the result: 240K with g++ and 294K with clang++, i.e. 22% more. I stared at the nm output for 5 mins without much success.

Worth a bug report?

Luc Bourhis




More information about the cfe-dev mailing list