This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: avoid uninitialized variable warnings building with -O3
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Pat Haugen" <pthaugen at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Mon, 29 Dec 2008 18:21:27 +0100
- Subject: Re: Ping: avoid uninitialized variable warnings building with -O3
- References: <OFE88A4A4B.336B0D7D-ON86257529.005F730A-86257529.0060C205@us.ibm.com>
On Wed, Dec 24, 2008 at 6:36 PM, Pat Haugen <pthaugen@us.ibm.com> wrote:
>
> 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
Ok.
Thanks,
Richard.
> -Pat
>
>