https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77788

            Bug ID: 77788
           Summary: profiledbootstrap failures on powerpc64le
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

Today's top of GCC trunk configured with
-enable-languages=all,c,c++,fortran,go,lto,objc,obj-c++ --no-recursion fails in
the feedback stage with (at least) the following errors:

/src/gcc/trunk/gcc/expmed.h: In function ‘void init_expmed()’:
/src/gcc/trunk/gcc/expmed.h:622:77: error: array subscript is above array
bounds [-Werror=array-bounds]
   return &this_target_expmed->x_mul_highpart_cost[speed][mode - MIN_MODE_INT];
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/src/gcc/trunk/gcc/expmed.h:622:77: error: array subscript is above array
bounds [-Werror=array-bounds]
   return &this_target_expmed->x_mul_highpart_cost[speed][mode - MIN_MODE_INT];
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
...
/src/gcc/trunk/gcc/gimple-ssa-strength-reduction.c: In member function ‘virtual
edge_def* find_candidates_dom_walker::before_dom_children(basic_block)’:
/src/gcc/trunk/gcc/gimple-ssa-strength-reduction.c:1583:28: error: ‘c’ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
   add_cand_for_stmt (gs, c);
                            ^
/src/gcc/trunk/gcc/gimple-ssa-strength-reduction.c:1532:26: note: ‘c’ was
declared here
   slsr_cand_t base_cand, c, c2;
                          ^
cc1plus: all warnings being treated as errors
make[3]: *** [expmed.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [gimple-ssa-strength-reduction.o] Error 1
rm cpp.pod fsf-funding.pod grmic.pod gcov.pod gc-analyze.pod gpl.pod gfdl.pod
gccgo.pod gfortran.pod gcc.pod gcj-dbtool.pod jcf-dump.pod gcj.pod
jv-convert.pod gcov-tool.pod gij.pod
make[3]: Leaving directory `/build/gcc-trunk/gcc'
make[2]: *** [all-stagefeedback-gcc] Error 2
make[2]: Leaving directory `/build/gcc-trunk'
make[1]: *** [stagefeedback-bubble] Error 2
make[1]: Leaving directory `/build/gcc-trunk'
make: *** [profiledbootstrap] Error 2
make: Leaving directory `/build/gcc-trunk'

Reply via email to