http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58509
Bug ID: 58509 Summary: [4.9 regression] ICE in calc_dfs_tree, at dominance.c:397 breaks Ada bootstrap on sparc64-linux Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mikpe at it dot uu.se Host: sparc64-linux Target: sparc-linux Build: sparc-linux Attempting to bootstrap gcc-4.9-20130922 on sparc64-linux fails with: /mnt/scratch/objdir49/./gcc/xgcc -B/mnt/scratch/objdir49/./gcc/ -B/mnt/scratch/install49/sparc-unknown-linux/bin/ -B/mnt/scratch/install49/sparc-unknown-linux/lib/ -isystem /mnt/scratch/install49/sparc-unknown-linux/include -isystem /mnt/scratch/install49/sparc-unknown-linux/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc g-awk.adb -o g-awk.o +===========================GNAT BUG DETECTED==============================+ | 4.9.0 20130922 (experimental) (sparc-unknown-linux) GCC error: | | in calc_dfs_tree, at dominance.c:397 | | Error detected around g-awk.adb:264:9 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | 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 gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ 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). system.ads g-awk.adb g-awk.ads gnat.ads ada.ads a-finali.ads s-finroo.ads g-regpat.ads s-regpat.ads a-except.ads s-parame.ads s-stalib.ads a-unccon.ads s-traent.ads a-textio.ads a-ioexce.ads a-stream.ads s-ficobl.ads interfac.ads i-cstrea.ads s-crtl.ads s-wchcon.ads a-string.ads a-strunb.ads a-strmap.ads a-charac.ads a-chlat1.ads a-strfix.ads a-uncdea.ads g-dirope.ads g-dyntab.ads g-os_lib.ads s-os_lib.ads s-string.ads s-exctab.ads a-tags.ads s-stoele.ads s-stoele.adb s-soflin.ads s-stache.ads s-finmas.ads s-stopoo.ads s-pooglo.ads s-unstyp.ads s-stratt.ads s-secsta.ads s-stposu.ads s-ststop.ads s-imgint.ads s-valint.ads s-valrea.ads g-dyntab.adb g-hesorg.ads s-memory.ads g-hesorg.adb raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:432 make[7]: *** [g-awk.o] Error 1 make[7]: Leaving directory `/mnt/scratch/objdir49/gcc/ada/rts' make[6]: *** [gnatlib] Error 2 make[6]: Leaving directory `/mnt/scratch/objdir49/gcc/ada' make[5]: *** [gnatlib-shared-default] Error 2 make[5]: Leaving directory `/mnt/scratch/objdir49/gcc/ada' make[4]: *** [gnatlib-shared-dual] Error 2 make[4]: Leaving directory `/mnt/scratch/objdir49/gcc/ada' make[3]: *** [gnatlib-shared] Error 2 make[3]: Leaving directory `/mnt/scratch/objdir49/gcc/ada' make[2]: *** [gnatlib-shared] Error 2 make[2]: Leaving directory `/mnt/scratch/objdir49/sparc-unknown-linux/libada' make[1]: *** [all-target-libada] Error 2 make[1]: Leaving directory `/mnt/scratch/objdir49' make: *** [bootstrap] Error 2 The previous weekly snapshot, gcc-4.9-20130915, bootstrapped fine on this machine. I haven't seen this failure on x86_64 or powerpc64 (armv5tel is still building). Configuration options: --prefix=/mnt/scratch/install48 --with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-5.1.2 --with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-3.1.2 --with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-1.0.1 --enable-multilib --disable-plugin --disable-lto --disable-nls --enable-threads=posix --enable-checking=release --disable-libmudflap --enable-languages=c,c++,fortran,ada --build=sparc-unknown-linux --target=sparc-unknown-linux --with-cpu=ultrasparc --enable-targets=all