------- Comment #2 from dominiq at lps dot ens dot fr 2007-11-08 13:19 ------- > Can you get the same warning with a C program?
Yes > And can you please post the output of running gfortran with -v [ibook-dhum] f90/bug% gfc -v -m64 -ffast-math ac.f90 Driving: gfc -mmacosx-version-min=10.4 -v -m64 -ffast-math ac.f90 -lgfortranbegin -lgfortran -shared-libgcc Using built-in specs. Target: i686-apple-darwin8 Configured with: ../gcc-4.3-work/configure --prefix=/opt/gcc/gcc4.3w --mandir=/opt/gcc/gcc4.3w/share/man --infodir=/opt/gcc/gcc4.3w/share/info --build=i686-apple-darwin8 --enable-languages=c,c++,fortran,objc,obj-c++ --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib Thread model: posix gcc version 4.3.0 20071108 (experimental) (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-v' '-m64' '-ffast-math' '-shared-libgcc' '-mtune=generic' /opt/gcc/gcc4.3w/libexec/gcc/i686-apple-darwin8/4.3.0/f951 ac.f90 -fPIC -quiet -dumpbase ac.f90 -mmacosx-version-min=10.4 -m64 -mtune=generic -auxbase ac -version -ffast-math -fintrinsic-modules-path /opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/finclude -o /var/tmp//ccjovyzu.s GNU F95 (GCC) version 4.3.0 20071108 (experimental) (i686-apple-darwin8) compiled by GNU C version 4.3.0 20071108 (experimental), GMP version 4.2.1, MPFR version 2.2.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-v' '-m64' '-ffast-math' '-shared-libgcc' '-mtune=generic' as -arch x86_64 -force_cpusubtype_ALL -o /var/tmp//cc5GHKYm.o /var/tmp//ccjovyzu.s COMPILER_PATH=/opt/gcc/gcc4.3w/libexec/gcc/i686-apple-darwin8/4.3.0/:/opt/gcc/gcc4.3w/libexec/gcc/i686-apple-darwin8/4.3.0/:/opt/gcc/gcc4.3w/libexec/gcc/i686-apple-darwin8/:/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/:/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/:/usr/libexec/gcc/i686-apple-darwin8/:/usr/lib/gcc/i686-apple-darwin8/ LIBRARY_PATH=/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/x86_64/:/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/../../../x86_64/:/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/:/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/../../../:/usr/lib/ COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-v' '-m64' '-ffast-math' '-shared-libgcc' '-mtune=generic' /opt/gcc/gcc4.3w/libexec/gcc/i686-apple-darwin8/4.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.4 -multiply_defined suppress -weak_reference_mismatches non-weak -o a.out -lcrt1.o /opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/x86_64/crt3.o -L/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/x86_64 -L/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/../../../x86_64 -L/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0 -L/opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/../../.. /var/tmp//cc5GHKYm.o -lgfortranbegin -lgfortran -lgcc_s.10.4 -lgcc -lSystem /opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/x86_64/crtfastmath.o ld64 warning: in /opt/gcc/gcc4.3w/lib/gcc/i686-apple-darwin8/4.3.0/x86_64/crtfastmath.o, file is not of required architecture COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-v' '-m64' '-ffast-math' '-shared-libgcc' '-mtune=generic' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34025