On 07/14/2017 11:43 AM, Rainer Orth wrote: > Hi Martin, > >> Hello. >> >> Patch removes some remaining references in gcc/ subfolder. >> >> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > not enough, it seems: this patch broke Ada bootstrap at on > x86_64-pc-linux-gnu, sparc-sun-solaris2.12, and i386-pc-solaris2.12 > (probably everywhere) during stage2:
> > +===========================GNAT BUG DETECTED==============================+ > | 8.0.0 20170714 (experimental) [trunk revision 250207] (x86_64-pc-linux-gnu) > GCC error:| > | in gimplify_save_expr, at gimplify.c:5805 | > | Error detected around /vol/gcc/src/hg/trunk/local/gcc/ada/butil.adb:40:31| > | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | > | Use a subject line meaningful to you and us to track the bug. | > | Include the entire contents of this bug box in the report. | > | Include the exact command that you entered. | > | Also include sources listed below. | > +==========================================================================+ > > Please include these source files with error report > Note that list may not be accurate in some cases, > so please double check that the problem can still > be reproduced with the set of files listed. > Consider also -gnatd.n switch (see debug.adb). > > /vol/gcc/src/hg/trunk/local/gcc/ada/system.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/butil.adb > /vol/gcc/src/hg/trunk/local/gcc/ada/butil.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/namet.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/alloc.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/hostparm.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/types.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/unchconv.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/unchdeal.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/table.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/gnat.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/g-table.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/g-dyntab.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/ada.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/a-unccon.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/output.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-os_lib.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-string.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-stalib.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-exctab.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-unstyp.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-conca2.ads > /vol/gcc/src/hg/trunk/local/gcc/ada/s-assert.ads > > > raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:406 > /vol/gcc/src/hg/trunk/local/gcc/ada/gcc-interface/Make-lang.in:119: recipe > for target 'ada/butil.o' failed > make[3]: *** [ada/butil.o] Error 1 > > Reverting ... > >> * gimplify.c >> (gimplify_save_expr): Likewise. > > ... this part allowed the bootstrap to finish. If you wanted to commit that change with a comment somehow indicating how the code is interacting with the Ada front-end, consider it pre-approved. Similarly for you Martin. No need to get approval for putting a chunk of code back in :-) jeff