https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61442
Bug ID: 61442 Summary: [Aarch64] ICE while bootstraping GCC with --with-build-config=bootstrap-lto Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: venkataramanan.kumar at amd dot com Machine: Aarch64 Build Config line: ./gcc/configure --prefix=/work/GCC_Team/vekumar/ltoinstall/ --with-gmp=/work/GCC_Team/vekumar/installpre/installdir/ --with-build-config=bootstrap-lto --with-mpfr=/work/GCC_Team/vekumar/installpre/installdir/ --with-mpc=/work/GCC_Team/vekumar/installpre/installdir/ --disable-werror --enable-languages=c,c++,fortran (---Snip---) /root/work/GCC_Team/vekumar/ltobuild/./gcc/xgcc -B/root/work/GCC_Team/vekumar/ltobuild/./gcc/ -B/work/GCC_Team/vekumar/ltoinstall/aarch64-unknown-linux-gnu/bin/ -B/work/GCC_Team/vekumar/ltoinstall/aarch64-unknown-linux-gnu/lib/ -isystem /work/GCC_Team/vekumar/ltoinstall/aarch64-unknown-linux-gnu/include -isystem /work/GCC_Team/vekumar/ltoinstall/aarch64-unknown-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -o _cmpdi2.o -MT _cmpdi2.o -MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c ../../../gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS ../../../gcc/libgcc/libgcc2.c: In function â__ashrti3â: ../../../gcc/libgcc/libgcc2.c: In function â__lshrti3â: ../../../gcc/libgcc/libgcc2.c:415:30: internal compiler error: in iterative_hash_expr, at tree.c:7475 w.s.low = (UWtype) uu.s.high >> -bm; ^ ../../../gcc/libgcc/libgcc2.c:471:22: internal compiler error: in iterative_hash_expr, at tree.c:7475 w.s.high = uu.s.high >> (W_TYPE_SIZE - 1); ^ ../../../gcc/libgcc/libgcc2.c: In function â__negti2â: In file included from ../../../gcc/libgcc/libgcc2.h:506:0, from ../../../gcc/libgcc/libgcc2.c:56: ../../../gcc/libgcc/libgcc2.c: In function â__multi3â: ../../../gcc/libgcc/libgcc2.c:67:36: internal compiler error: in iterative_hash_expr, at tree.c:7475 const DWunion w = { {.low = -uu.s.low, ^ ../../../gcc/libgcc/libgcc2.c: In function â__cmpti2â: ../../../gcc/libgcc/libgcc2.c:551:39: internal compiler error: in iterative_hash_expr, at tree.c:7475 DWunion w = {.ll = __umulsidi3 (uu.s.low, vv.s.low)}; (---Snip---) With GCC 4.9 release FSF, getting bootstrapping with LTO resulted compare errors. Finding the revision, which cause ICE is in progress.