[cfe-commits] r167567 - in /cfe/trunk: include/clang/Driver/Driver.h include/clang/Driver/Types.h lib/Driver/Driver.cpp lib/Driver/ToolChains.cpp lib/Driver/Tools.cpp lib/Driver/Tools.h lib/Driver/Types.cpp lib/Driver/WindowsToolChain.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 12 19:14:20 PST 2012


> Consider:
>
> cat << EOF > test.F
>       PROGRAM HELLOW
>       WRITE(UNIT=*, FMT=*) 'Hello World'
>       END
> EOF
>
> clang-cpp test.F

This used to run
f951 test.F -cpp=/tmp/ccOj9mhO.f90 -E -quiet -v test.F -o - -m64
-mtune=generic -march=x86-64 -fsyntax-only

Now it tries to run clang as a preprocessor and fails because of the
"-x f95-cpp-input". Is the fortran preprocessor the same as the c one?
If so maybe the best is to teach "clang -cc1" to accept "-E ... -x
f95-cpp-input".

> Joerg


Cheers,
Rafael



More information about the cfe-commits mailing list