This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ARM Linux ICE in bootstrap (single_set_1, at rtlanal.c:871)



I'm just testing a patch for this.  Some new code that was added here 
assumes that an insn containing a parallel will always have more than one 
entry in it.  The prologue insn on the ARM doesn't always satisfy this 
assertion, which is a pain.

R.

> 
> I'm getting the following ICE during bootstrap on ARM Linux.  First
> noticed on Saturday, from CVS at approx 12:03 EST AM.  Picked up in the
> nightly builds we do.  http://www.netwinder.org/build/gcc.html.  The .i
> file attached.
> 
> Possibly related to this change?
>   Fri Sep 29 13:20:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
>         * recog.c (recog_memoized): Rename to recog_memoized_1.
>         * recog.h (recog_memoized): Rename to recog_memoized_1.
>         (recog_memoized): New macro.
>         * rtl.h (single_set): Rename to single_set_1
>         (single_set): New macro.
>         * rtlanal.c (single_set): Rename to single_set_1;  expect clobbers
>         to be last.
> 
> Thanks for any help,
> -Rms
> 
> Relevant info:
> 
> [build@compton gcc]$ ./xgcc -B./
> -B/usr/local/armv4l-unknown-linux-gnu/bin/ -isystem
> /usr/local/armv4l-unknown-linux-gnu/include -O2   -DIN_GCC    -g -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -Wno-long-long
> -isystem ./include  -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I/home/build-rpm/BUILD/gcc/gcc
> -I/home/build-rpm/BUILD/gcc/gcc/config
> -I/home/build-rpm/BUILD/gcc/gcc/../include  -DL_fixunsdfdi -c
> /home/build-rpm/BUILD/gcc/gcc/libgcc2.c -o libgcc/./_fixunsdfdi.o
> --save-temps -v
> Reading specs from ./specs
> gcc version 2.97 20001001 (experimental)
>  ./cpp0 -lang-c -v -I. -I/home/build-rpm/BUILD/gcc/gcc
> -I/home/build-rpm/BUILD/gcc/gcc/config
> -I/home/build-rpm/BUILD/gcc/gcc/../include -iprefix
> ./../lib/gcc-lib/armv4l-unknown-linux-gnu/2.97/ -isystem ./include
> -isystem /usr/local/armv4l-unknown-linux-gnu/bin/include -D__GNUC__=2
> -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 -Dunix -Dlinux -D__ELF__
> -D__unix__ -D__linux__ -D__ELF__ -D__unix -D__linux -Asystem(unix)
> -Asystem(posix) -Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__
> -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -g -g0 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D__ARM_ARCH_4__
> -D__APCS_32__ -D__ARMEL__ -D__PIC__ -D__pic__ -D__arm__ -DIN_GCC
> -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DL_fixunsdfdi
> -isystem /usr/local/armv4l-unknown-linux-gnu/include -isystem ./include
> /home/build-rpm/BUILD/gcc/gcc/libgcc2.c libgcc2.i
> GNU CPP version 2.97 20001001 (experimental) (cpplib) (ARM GNU/Linux with
> ELF)
> ignoring nonexistent directory
> "/usr/local/armv4l-unknown-linux-gnu/bin/include"
> ignoring nonexistent directory
> "/usr/local/armv4l-unknown-linux-gnu/include"
> ignoring nonexistent directory
> "../lib/gcc-lib/armv4l-unknown-linux-gnu/2.97/include"
> ignoring nonexistent directory "../armv4l-unknown-linux-gnu/include"
> ignoring nonexistent directory "/usr/local/include"
> ignoring nonexistent directory
> "/usr/local/lib/gcc-lib/armv4l-unknown-linux-gnu/2.97/include"
> ignoring nonexistent directory
> "/usr/local/armv4l-unknown-linux-gnu/include"
> ignoring duplicate directory "include"
> #include "..." search starts here:
> #include <...> search starts here:
>  .
>  /home/build-rpm/BUILD/gcc/gcc
>  /home/build-rpm/BUILD/gcc/gcc/config
>  /home/build-rpm/BUILD/gcc/include
>  include
>  /usr/include
> End of search list.
>  ./cc1 libgcc2.i -quiet -dumpbase libgcc2.c -g -g0 -O2 -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -version -fomit-frame-pointer -fPIC -o libgcc2.s
> GNU C version 2.97 20001001 (experimental) (armv4l-unknown-linux-gnu)
> compiled by GNU C version 2.95.2 20000212 (release) [Rebel.com].
> /home/build-rpm/BUILD/gcc/gcc/libgcc2.c: In function `__fixunsdfdi':
> /home/build-rpm/BUILD/gcc/gcc/libgcc2.c:777: Internal compiler error in
> single_set_1, at rtlanal.c:871
>    Please submit a full bug report.
>    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> [build@compton gcc]$ 
> 
> 
> @ Generated by gcc 2.97 20001001 (experimental) for ARM/elf
> 	.file	"libgcc2.c"
> gcc2_compiled.:
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]