public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/44726]  New: [4.6 Regression] Yet another broken bootstrap
@ 2010-06-30 15:35 dominiq at lps dot ens dot fr
  2010-06-30 16:11 ` [Bug bootstrap/44726] " spop at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-06-30 15:35 UTC (permalink / raw)
  To: gcc-bugs

At revision 161606, bootstrap fails with:

...

/opt/gcc/build_w/./prev-gcc/xgcc -B/opt/gcc/build_w/./prev-gcc/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/bin/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/bin/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/lib/ -isystem
/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/include -isystem
/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/sys-include    -c   -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../work/gcc
-I../../work/gcc/. -I../../work/gcc/../include
-I../../work/gcc/../libcpp/include -I/opt/sw64/include 
-I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd
-I../libdecnumber  -I/opt/sw64/include -DCLOOG_PPL_BACKEND  
-I/opt/sw64/include ../../work/gcc/graphite-sese-to-poly.c -o
graphite-sese-to-poly.o
/opt/gcc/build_w/./prev-gcc/xgcc -B/opt/gcc/build_w/./prev-gcc/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/bin/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/bin/
-B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/lib/ -isystem
/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/include -isystem
/opt/gcc/gcc4.6w/x86_64-apple-darwin10.4.0/sys-include    -c   -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../work/gcc
-I../../work/gcc/. -I../../work/gcc/../include
-I../../work/gcc/../libcpp/include -I/opt/sw64/include 
-I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd
-I../libdecnumber  -I/opt/sw64/include -DCLOOG_PPL_BACKEND  
-I/opt/sw64/include gtype-desc.c -o gtype-desc.o
../../work/gcc/graphite-sese-to-poly.c: In function 'build_scop_drs.isra.110':
../../work/gcc/graphite-sese-to-poly.c:1784:15: error: 'dr_base_object_set' may
be used uninitialized in this function [-Werror=uninitialized]
../../work/gcc/graphite-sese-to-poly.c:1765:7: note: 'dr_base_object_set' was
declared here
../../work/gcc/graphite-sese-to-poly.c:2008:25: error: 'bap' may be used
uninitialized in this function [-Werror=uninitialized]
../../work/gcc/graphite-sese-to-poly.c:2003:24: note: 'bap' was declared here
../../work/gcc/graphite-sese-to-poly.c:1929:22: error: 'bap' may be used
uninitialized in this function [-Werror=uninitialized]
../../work/gcc/graphite-sese-to-poly.c:1924:24: note: 'bap' was declared here
cc1: all warnings being treated as errors

I have reached stage 3 with the following uneducated patch:


--- /opt/gcc/_clean/gcc/graphite-sese-to-poly.c 2010-06-10 00:11:15.000000000
+0200
+++ /opt/gcc/work/gcc/graphite-sese-to-poly.c   2010-06-30 17:18:25.000000000
+0200
@@ -1762,7 +1762,7 @@ build_poly_dr (data_reference_p dr, poly
   ppl_Pointset_Powerset_C_Polyhedron_t accesses_ps;
   ppl_dimension_type dom_nb_dims;
   ppl_dimension_type accessp_nb_dims;
-  int dr_base_object_set;
+  int dr_base_object_set = 0;

   ppl_Pointset_Powerset_C_Polyhedron_space_dimension (PBB_DOMAIN (pbb),
                                                      &dom_nb_dims);
@@ -1921,7 +1921,7 @@ build_alias_set_optimal_p (VEC (data_ref
   for (i = 0; i < g->n_vertices; i++)
     {
       data_reference_p dr = VEC_index (data_reference_p, drs, i);
-      base_alias_pair *bap;
+      base_alias_pair *bap = NULL;

       if (dr->aux)
        bap = (base_alias_pair *)(dr->aux);
@@ -2000,7 +2000,7 @@ build_base_obj_set_for_drs (VEC (data_re
   for (i = 0; i < g->n_vertices; i++)
     {
       data_reference_p dr = VEC_index (data_reference_p, drs, i);
-      base_alias_pair *bap;
+      base_alias_pair *bap = NULL;

       if (dr->aux)
        bap = (base_alias_pair *)(dr->aux);


-- 
           Summary: [4.6 Regression] Yet another broken bootstrap
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: x86_64-apple-darwin10.4.0
  GCC host triplet: x86_64-apple-darwin10.4.0
GCC target triplet: x86_64-apple-darwin10.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/44726] [4.6 Regression] Yet another broken bootstrap
  2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
@ 2010-06-30 16:11 ` spop at gcc dot gnu dot org
  2010-06-30 16:20 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-06-30 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from spop at gcc dot gnu dot org  2010-06-30 16:11 -------
Mine.

Let's transform this code:
      base_alias_pair *bap;

      if (dr->aux)
        bap = (base_alias_pair *)(dr->aux);

into:
      base_alias_pair *bap;

      gcc_assert (dr->aux);
      bap = (base_alias_pair *)(dr->aux);


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-30 16:11:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/44726] [4.6 Regression] Yet another broken bootstrap
  2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
  2010-06-30 16:11 ` [Bug bootstrap/44726] " spop at gcc dot gnu dot org
  2010-06-30 16:20 ` hjl dot tools at gmail dot com
@ 2010-06-30 16:20 ` hjl dot tools at gmail dot com
  2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
  2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-30 16:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/44726] [4.6 Regression] Yet another broken bootstrap
  2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
  2010-06-30 16:11 ` [Bug bootstrap/44726] " spop at gcc dot gnu dot org
@ 2010-06-30 16:20 ` hjl dot tools at gmail dot com
  2010-06-30 16:20 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-30 16:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-06-30 16:19 -------
*** Bug 44730 has been marked as a duplicate of this bug. ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/44726] [4.6 Regression] Yet another broken bootstrap
  2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
                   ` (3 preceding siblings ...)
  2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
@ 2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-30 18:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-06-30 18:39 -------
Subject: Bug 44726

Author: rguenth
Date: Wed Jun 30 18:38:37 2010
New Revision: 161631

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161631
Log:
2010-06-30  Sebastian Pop  <sebastian.pop@amd.com>

        PR bootstrrap/44726
        * graphite-sese-to-poly.c (build_poly_dr): Avoid uninitialized
        use.
        (build_alias_set_optimal_p): Likewise.
        (build_base_obj_set_for_drs): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-sese-to-poly.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/44726] [4.6 Regression] Yet another broken bootstrap
  2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
                   ` (2 preceding siblings ...)
  2010-06-30 16:20 ` hjl dot tools at gmail dot com
@ 2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
  2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-30 18:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-06-30 18:38 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-30 18:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-30 15:35 [Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap dominiq at lps dot ens dot fr
2010-06-30 16:11 ` [Bug bootstrap/44726] " spop at gcc dot gnu dot org
2010-06-30 16:20 ` hjl dot tools at gmail dot com
2010-06-30 16:20 ` hjl dot tools at gmail dot com
2010-06-30 18:39 ` rguenth at gcc dot gnu dot org
2010-06-30 18:39 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).