This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] avoid compiler warning building graphite-sese-to-poly.c
- From: Sebastian Pop <sebpop at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Apr 2010 13:27:46 -0500
- Subject: Re: [patch] avoid compiler warning building graphite-sese-to-poly.c
- References: <4BB8CFFC.2020907@ubuntu.com>
On Sun, Apr 4, 2010 at 12:44, Matthias Klose <doko@ubuntu.com> wrote:
> Seen this warning during a profiled bootstrap on the trunk 20100404 on
> x86_64-linux-gnu using gcc-4.4 branch as the bootstrap compiler:
>
> cc1: warnings being treated as errors
> ../../src/gcc/graphite-sese-to-poly.c: In function
> 'translate_scalar_reduction_to_array':
> ../../src/gcc/graphite-sese-to-poly.c:2790:8: error: 'red' may be used
> uninitialized in this function
> make[5]: *** [graphite-sese-to-poly.o] Error 1
> make[4]: *** [all-stagefeedback-gcc] Error 2
The patch is ok as trivial.
Thanks,
Sebastian