I'm using gcc 4.4.3 on Fedora 12:
$ gcc -v
Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared
--enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi
--enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile
--enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686
--build=i686-redhat-linux
Thread model: posix
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)
On 04/21/2010 10:24 PM, Alan Cox wrote:
On Wed, 21 Apr 2010 22:07:26 +0800
Fang Wenqi<anton.fang@xxxxxxxxx> wrote:
CC drivers/ata/libata-eh.o
drivers/ata/libata-eh.c: In function ‘ata_eh_analyze_ncq_error’:
drivers/ata/libata-eh.c:1642: warning: ‘tf.flags’ may be used uninitialized in this function
Which compiler are you using. gcc 4.4.3 seems to have no trouble working
this out correctly and issues no warning ?
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html