This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ping: avoid uninitialized variable warnings building with -O3
- From: Pat Haugen <pthaugen at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: aoliva at redhat dot com
- Date: Wed, 24 Dec 2008 11:36:40 -0600
- Subject: Ping: avoid uninitialized variable warnings building with -O3
Any follow-up to http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01266.html?
I'm hitting it while bootstrapping trunk on ppc.
/home/pthaugen/src/gcc/trunk/gcc/gcc/ebitmap.c: In function
'ebitmap_last_set_bit':
/home/pthaugen/src/gcc/trunk/gcc/gcc/ebitmap.c:89: error: 'ebi.word' may be
used uninitialized in this function
/home/pthaugen/src/gcc/trunk/gcc/gcc/ebitmap.c:89: error: 'ebi.eltnum' may
be used uninitialized in this function
/home/pthaugen/src/gcc/trunk/gcc/gcc/ebitmap.c:89: error: 'ebi.ptr' may be
used uninitialized in this function
-Pat