From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3925 invoked by alias); 2 Sep 2010 14:29:19 -0000 Received: (qmail 3779 invoked by uid 48); 2 Sep 2010 14:29:03 -0000 Date: Thu, 02 Sep 2010 14:29:00 -0000 Message-ID: <20100902142903.3778.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/45067] [4.6 regression] ARM bootstrap failure: internal compiler error: in expand_widen_pattern_expr, at optabs.c:522 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "laurent at guerby dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg00289.txt.bz2 ------- Comment #11 from laurent at guerby dot net 2010-09-02 14:29 ------- Last succesful arm bootstrap for my tester is r163026. At r163046 it fails with : << /home/guerby/build/./prev-gcc/xgcc -B/home/guerby/build/./prev-gcc/ -B/n/57/guerby/install-trunk-163046/armv5tel-unknown-linux-gnueabi/bin/ -B/n/57/guerby/install-trunk-163046/armv5tel-unknown-linux-gnueabi/bin/ -B/n/57/guerby/install-t\ runk-163046/armv5tel-unknown-linux-gnueabi/lib/ -isystem /n/57/guerby/install-trunk-163046/armv5tel-unknown-linux-gnueabi/include -isystem /n/57/guerby/install-trunk-163046/armv5tel-unknown-linux-gnueabi/sys-include -c -g -O2 -gtog\ gle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -f\ no-common -DHAVE_CONFIG_H -I. -I. -I../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include -I../../trunk/gcc/../libcpp/include -I../../trunk/gcc/../libdecnumber -I../../trunk/gcc/../libdecnumber/dpd -I../libdecnumber \ ../../trunk/gcc/config/arm/arm.c -o arm.o ../../trunk/gcc/config/arm/arm.c: In function 'arm_get_pcs_model': ../../trunk/gcc/config/arm/arm.c:3720:7: error: passing argument 1 of 'stdarg_p' discards 'const' qualifier from pointer target type [-Werror] ../../trunk/gcc/tree.h:4829:13: note: expected 'tree' but argument is of type 'const_tree' cc1: all warnings being treated as errors make[3]: *** [arm.o] Error 1 make[3]: Leaving directory `/home/guerby/build/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/guerby/build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/guerby/build' make: *** [bootstrap] Error 2 >> Then starting with r163281 the failure changes: << /home/guerby/build/./prev-gcc/xgcc -B/home/guerby/build/./prev-gcc/ -B/n/57/guerby/install-trunk-163281/armv5tel-unknown-linux-gnueabi/bin/ -B/n/57/guerby/install-trunk-163281/armv5tel-unknown-linux-gnueabi/bin/ -B/n/57/guerby/install-t\ runk-163281/armv5tel-unknown-linux-gnueabi/lib/ -isystem /n/57/guerby/install-trunk-163281/armv5tel-unknown-linux-gnueabi/include -isystem /n/57/guerby/install-trunk-163281/armv5tel-unknown-linux-gnueabi/sys-include -c -g -O2 -gtog\ gle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -f\ no-common -DHAVE_CONFIG_H -I. -I. -I../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include -I../../trunk/gcc/../libcpp/include -I../../trunk/gcc/../libdecnumber -I../../trunk/gcc/../libdecnumber/dpd -I../libdecnumber ins\ n-attrtab.c -o insn-attrtab.o ../../trunk/gcc/config/arm/arm.md: In function 'get_attr_enabled': ../../trunk/gcc/config/arm/arm.md:178:4: error: enum conversion in return is invalid in C++ [-Werror=c++-compat] ../../trunk/gcc/config/arm/arm.md:191:4: error: enum conversion in return is invalid in C++ [-Werror=c++-compat] ../../trunk/gcc/config/arm/arm.md:199:7: error: enum conversion in return is invalid in C++ [-Werror=c++-compat] cc1: all warnings being treated as errors make[3]: *** [insn-attrtab.o] Error 1 make[3]: Leaving directory `/home/guerby/build/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/guerby/build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/guerby/build' make: *** [bootstrap] Error 2 >> Last revision I tested (with the above failure) is r163437, I've now relaunched my tester. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45067