gcc-4.6-20100703 fails during stage 2 of bootstrap on ARM: /home/mikpe/gcc-4.6-20100703/gcc/config/arm/arm.c: In function 'arm_attr_length_move_neon': /home/mikpe/gcc-4.6-20100703/gcc/config/arm/arm.c:12868:7: error: variable 'regno' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors
make[3]: *** [arm.o] Error 1 make[3]: Leaving directory `/home/mikpe/objdir46/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/mikpe/objdir46' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/mikpe/objdir46' make: *** [bootstrap] Error 2 Given the location of the error the cause is obviously Jie Zhang's recent patch which added arm_attr_length_move_neon, namely r161776. I'll attach a preliminary patch momentarily. -- Summary: [4.6 regression] ARM bootstrap failure: regno set but unused in arm_attr_length_move_neon Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC build triplet: armv5tel-unknown-linux-gnueabi GCC host triplet: armv5tel-unknown-linux-gnueabi GCC target triplet: armv5tel-unknown-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44820