[cfe-dev] clang -O4 through -O9 ... leaves unknown file types for .o

Konstantin Tokarev annulen at yandex.ru
Thu Nov 8 09:16:00 PST 2012


08.11.2012, 21:03, "Marshall Midden" <marshallmidden at gmail.com>:
> Started changing my Makefile's to use clang and ran into immediately, that the -O number following it doesn't work if it is greater than 3.
>
> Yeah, gcc just makes it -O3 and continues.
>
> For compatibility ... perhaps clang should too.

This file type is known actually - it's LLVM bitcode intended for use in LTO, enabled by -O4.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list