> > This broke the bootstrap on sparc: > > /home/davem/src/GIT/GCC/build-sparc32-linux/./prev-gcc/g++ > -B/home/davem/src/GIT/GCC/build-sparc32\ > -linux/./prev-gcc/ -B/usr/local/sparc-unknown-linux-gnu/bin/ -nostdinc++ > -B/home/davem/src/GIT/GCC\ > /build-sparc32-linux/prev-sparc-unknown-linux-gnu/libstdc++-v3/src/.libs > -B/home/davem/src/GIT/GCC\ > /build-sparc32-linux/prev-sparc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs > -I/home/davem/src/G\ > IT/GCC/build-sparc32-linux/prev-sparc-unknown-linux-gnu/libstdc++-v3/include/sparc-unknown-linux-g\ > nu > -I/home/davem/src/GIT/GCC/build-sparc32-linux/prev-sparc-unknown-linux-gnu/libstdc++-v3/include\ > -I/home/davem/src/GIT/GCC/gcc/libstdc++-v3/libsupc++ > -L/home/davem/src/GIT/GCC/build-sparc32-linu\ > x/prev-sparc-unknown-linux-gnu/libstdc++-v3/src/.libs > -L/home/davem/src/GIT/GCC/build-sparc32-linu\ > x/prev-sparc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -g -O2 > -gtoggle -DIN_GCC -fno-e\ > xceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing > -Wwrite-strings -Wcast-qu\ > al -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros > -Wno-overlength-string\ > s -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc > -I../../gcc/gcc/. -I../../gcc/gcc/.\ > ./include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber > -I../../gcc/gcc/../li\ > bdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace > -DCLOOG_INT_GMP ../../gcc/gcc/\ > graphite-interchange.c -o graphite-interchange.o > ../../gcc/gcc/graphite-interchange.c:645:1: internal compiler error: in > relative_time_benefit, at \ > ipa-inline.c:784
I am sorry for that. I added couple of sanity checks for overflow and it seems it triggers. Is line 784 for you "gcc_checking_assert (uninlined_call_time >= 0);"? Honza