This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/18111] spurious warnings with -W -Wunused



------- Comment #11 from martin at mpa-garching dot mpg dot de  2005-11-20 12:10 -------
(In reply to comment #4)

I reran the test with the current gfortran. This is what I get:

~/tmp>gfortran -Wunused -W -v -c -O2 bla.f90
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/gcc/configure --quiet
--prefix=/afs/mpa/data/martin/ugcc --enable-languages=c++,fortran
--with-gmp=/afs/mpa/data/martin/mygmp
Thread model: posix
gcc version 4.1.0 20051117 (experimental)
 /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.1.0/f951 bla.f90
-quiet -dumpbase bla.f90 -mtune=pentiumpro -auxbase bla -O2 -Wunused -W
-version -o /tmp/ccmnVbiY.s
GNU F95 version 4.1.0 20051117 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.0 20051117 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bla.f90:6: warning: unused parameter 'arg2'
bla.f90:6: warning: unused parameter 'arg3'
 as -V -Qy -o bla.o /tmp/ccmnVbiY.s
GNU assembler version 2.15 (i686-pc-linux-gnu) using BFD version 2.15

Better, but not perfect yet ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18111


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]