bootstrap fails on the following stage: stage1/xgcc -Bstage1/ -B/mnt/d/gcc/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc/gcc -I../../gcc/gcc/build -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include \ -o build/genmodes.o ../../gcc/gcc/genmodes.c ../../gcc/gcc/genmodes.c: In function 'main': ../../gcc/gcc/genmodes.c:1219: internal compiler error: tree check: expected class 'type', have 'binary' (ceil_div_expr) in tree_ssa_useless_type_conversion_1, at tree-ssa.c:884 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> stage1/xgcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/mnt/d/gcc --enable-shared --enable-threads --program-suffix=-4.1 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,objc,obj-c++,java,f95,treelang Thread model: posix gcc version 4.1.0 20050713 (experimental) -- Summary: Bootstrap failure: ICE, tree check for ceil_div_expr failed Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457