[cfe-dev] GCC 4.6, LLVM/Clang 2.9, DragonEgg Five-System Benchmarks

Konstantin Tokarev annulen at yandex.ru
Thu Mar 31 01:08:56 PDT 2011



30.03.2011, 23:16, "Michael Larabel" <michael at michaellarabel.com>:
> While the latest upstream Himeno release will be pulled, which evidently
> is now multi-threaded and uses -O3, I would argue though that in the
> context of benchmarking defaults, even '-O0' does matter if looking at
> the compiler performance. Such as for software projects that may not
> specify any optimization flag, I really doubt __most users__ when
> pulling down new code are checking what a given program is using as
> their compiler flags.
>

Default CFLAGS for most open source projects are "-O2 -g". Building with 
"-O0" is unreasonable unless it is a development build.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list