From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25351 invoked by alias); 28 Jun 2006 20:18:36 -0000 Received: (qmail 25147 invoked by uid 48); 28 Jun 2006 20:18:28 -0000 Date: Wed, 28 Jun 2006 20:40:00 -0000 Message-ID: <20060628201828.25146.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/28193] config/arm/arm.c:3140 ICE In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sjackman at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg02454.txt.bz2 List-Id: ------- Comment #2 from sjackman at gmail dot com 2006-06-28 20:18 ------- This proposed patch does help. At the very least, it prevents the ICE on compiling crtstuff.c while compiling the toolchain. However, with this patch applied, I saw the same bug later while compiling newlib. As the comment in thumb_find_work_register suggests, the real bug is probably in thumb_compute_save_reg_mask. make[8]: Entering directory `/home/sjackman/src/toolchain/src/_build/arm-elf/thumb/pic/xip/newlib/libc/stdio' arm-elf-gcc -B/home/sjackman/src/toolchain/src/_build/arm-elf/newlib/ -isystem /home/sjackman/src/toolchain/src/_build/arm-elf/newlib/targ-include -isystem /home/sjackman/src/toolchain/src/newlib/libc/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.14.0\" -DPACKAGE_STRING=\"newlib\1.14.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../../../../newlib/libc/stdio -O2 -D__NO_SYSCALLS__ -DNO_FLOATING_POINT -DHAVE_FCNTL -DHAVE_NANOSLEEP -fno-builtin -O2 -g -O2 -mthumb -fPIC -msingle-pic-base -c -o lib_a-findfp.o `test -f 'findfp.c' || echo '../../../../../../../../newlib/libc/stdio/'`findfp.c ../../../../../../../../newlib/libc/stdio/findfp.c: In function 'std': ../../../../../../../../newlib/libc/stdio/findfp.c:61: internal compiler error:in thumb_find_work_register, at config/arm/arm.c:3173 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[8]: *** [lib_a-findfp.o] Error 1 make[8]: Leaving directory `/home/sjackman/src/toolchain/src/_build/arm-elf/thumb/pic/xip/newlib/libc/stdio' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28193