On Linux/x86-64, revision 161606 gave:
../../src-trunk/gcc/graphite-sese-to-poly.c: In function
'build_scop_drs.isra.110':
../../src-trunk/gcc/graphite-sese-to-poly.c:1784:15: error:
'dr_base_object_set' may be used uninitialized in this function
[-Werror=uninitialized]
../../src-trunk/gcc/graphite-sese-to-poly.c:1765:7: note: 'dr_base_object_set'
was declared here
../../src-trunk/gcc/graphite-sese-to-poly.c:2008:25: error: 'bap' may be used
uninitialized in this function [-Werror=uninitialized]
../../src-trunk/gcc/graphite-sese-to-poly.c:2003:24: note: 'bap' was declared
here
../../src-trunk/gcc/graphite-sese-to-poly.c:1929:22: error: 'bap' may be used
uninitialized in this function [-Werror=uninitialized]
../../src-trunk/gcc/graphite-sese-to-poly.c:1924:24: note: 'bap' was declared
here
cc1: all warnings being treated as errors
I saw
2000 for (i = 0; i < g->n_vertices; i++)
2001 {
2002 data_reference_p dr = VEC_index (data_reference_p, drs, i);
2003 base_alias_pair *bap;
2004
2005 if (dr->aux)
2006 bap = (base_alias_pair *)(dr->aux);
2007
2008 bap->base_obj_set = g->vertices[i].component + 1;
2009 }
--
Summary: [4.6 Regression] Failed to bootstrap due to
uninitialized error
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44730