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

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 24 Apr 2017, sgk at troutmask dot apl.washington.edu wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509
> 
> --- Comment #2 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
> On Mon, Apr 24, 2017 at 11:05:03PM +0000, kargl at gcc dot gnu.org wrote:
> > > gc-dump.pod > doc/gcov-dump.1.T$$ && \
> > >         mv -f doc/gcov-dump.1.T$$ doc/gcov-dump.1) || \
> > >         (rm -f doc/gcov-dump.1.T$$ && exit 1)
> > > cp doc/gcc.1 doc/g++.1
> > > /home/sgk/gcc/objx/./gcc/xgcc -B/home/sgk/gcc/objx/./gcc/ -nostdinc -x c
> > > /dev/ll -S -o /dev/null
> > > -fself-test=/home/sgk/gcc/gccx/gcc/testsuite/selftests
> > > cc1: internal compiler error: Bus error
> > 
> > 2017-04-24  Richard Biener  <rguent...@suse.de>
> > 
> >         PR bootstrap/79814
> >         * pass_manager.h (pass_manager::operator new): Remove.
> >         (pass_manager::operator delete): Likewise.
> >         * passes.c (pass_manager::operator new): Remove.
> >         (pass_manager::operator delete): Likewise.
> >         (pass_manager::pass_manager): Zero individual pass members.
> > 
> > as the commit that is causing problems.  This is confirmed by
> > updated my repository to top-of-tree and then reverting this
> > commit by
> > 
> > % svn merge -r 247089:247088 .
> > 
> 
> Ugh.  Spoke too soon. The above svn merge command gets me
> past the original ICE, but I end-up at 
> 
> In file included from /home/sgk/gcc/gccx/gcc/passes.c:1595:0:
> ./pass-instances.def: In constructor
> 'gcc::pass_manager::pass_manager(gcc::context*)':
> ./pass-instances.def:36:14: error:
> '*<unknown>.gcc::pass_manager::pass_warn_unused_result_1' is used 
> uninitialized
> in this function [-Werror=uninitialized]
>    NEXT_PASS (pass_warn_unused_result, 1);
>               ^~~~~~~~~~~~~~~~~~~~~~~
> cc1plus: all warnings being treated as errors
> gmake[3]: *** [Makefile:1099: passes.o] Error 1
> gmake[3]: Leaving directory '/mnt/sgk/objx/gcc'
> gmake[2]: *** [Makefile:4584: all-stage2-gcc] Error 2
> gmake[2]: Leaving directory '/mnt/sgk/objx'
> gmake[1]: *** [Makefile:22883: stage2-bubble] Error 2
> gmake[1]: Leaving directory '/mnt/sgk/objx'
> gmake: *** [Makefile:23095: bootstrap] Error 2

Well, that's because the commit fixes this ;)

Reply via email to