------- Comment #1 from burnus at gcc dot gnu dot org 2009-06-29 12:27 ------- Hmm, the following works here on x86_64-openSUSE (the -4.x are the ones of openSUSE; the last one is today's vanilla trunk build):
gcc-4.2 -c aa.F90; gcc-4.3 -c aa.F90; gcc-4.4 -c aa.F90; gcc -c aa.F90 gfortran-4.2 aa.F90; gfortran-4.3 aa.F90; gfortran-4.4 aa.F90; gfortran aa.F90 (ditto with .F95 instead of .F90) > Anyhow: The automatic preprocessing as specified by the documentation, for > files named with capital "F" in the suffix, does not work. If you have a case-sensitive filesystem, it should work! > It works fine using the two-step procedure: > > shell$ cpp -xf95-cpp-input testf95.F95 > testf95.f95 > shell$ LANG=C gfortran -xf95 -o testf95 testf95.f95 It should also work using: gfortran -xf95-cpp-input -o testf95 testf95.F95 ^^^^^^^^^^^^^^^ where -xf95-cpp-input can be replaced by "-cpp" in GCC/gfortran 4.4.x/4.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40583