Missing gcc command line options?

Hi,

~> clang --version
clang version 2.0 (trunk 105014)
Target: x86_64-apple-darwin10
Thread model: posix
~> clang foo.c -c -O3 -ffast-math -ftrapping-math
clang: warning: argument unused during compilation: '-ffast-math'
clang: warning: argument unused during compilation: '-ftrapping-math'

Am I missing something or are those options not supported yet?

Luc Bourhis
Computer Scientist
Chemical Crystallography Laboratory
University of Durham, UK

These options are not yet supported.

  - Doug

clang: warning: argument unused during compilation: '-ffast-math'
clang: warning: argument unused during compilation: '-ftrapping-math'

Am I missing something or are those options not supported yet?

These options are not yet supported.

Thanks. Thus since llvmc -clang just calls clang, my only option is something along the lines of
~> clang foo.c -c -emit-llvm -o foo.bc
~> llc foo.bc -O3 -enable-unsafe-fp-math -o foo.o

, isn't it? Would you know exactly which LLVM options should be used to reproduce -ffast-math -ftrapping-math. Otherwise I'll ask on the LLVM list.

Luc