In anticipation of the LLVM 3.5 release that brings a number of new compiler features -- including possible performance improvements from our benchmarking done earlier today -- here's some benchmarks comparing LLVM Clang 3.5 RC3 to a recent SVN snapshot of the GCC 5.0 compiler that's presently under development.
GCC 5.0 is still under heavy stage one development and isn't anticipated for release likely until H1'2015, so there's still a ways to go with the GNU Compiler Collection, but these brief benchmarks today should provide some nice perspective for how it's shaping up against LLVM Clang 3.5. Of course, as GCC 5.0 nears, we'll have plenty more compiler benchmarks over the months ahead.
This GCC 5.0 vs. Clang 3.5 SVN compiler benchmarking was done with an Intel Core i7 4790K "Devil's Canyon" (Haswell) system (core-avx2). This system was running an Ubuntu 14.10 development snapshot with the Linux 3.16 kernel. The CFLAGS/CXXFLAGS and other compile settings were maintained the same during benchmarking. All benchmarks were executed via the Phoronix Test Suite.