This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sched-deps speedup
- To: Rod Stewart <stewart at lab43 dot org>
- Subject: Re: sched-deps speedup
- From: Jeffrey A Law <law at redhat dot com>
- Date: Wed, 10 Jan 2001 14:43:23 -0700
- cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <Pine.LNX.4.21.0101101602430.3127-100000@dystopia.lab43.org>you wr
ite:
>
> On Tue, 9 Jan 2001, Richard Henderson wrote:
> [...]
> > Bootstrapped on alphaev6-linux, i686-linux, sparc-solaris2.5.
> >
> > * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
> > reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_
> reg.
> > * sched-deps.c (sched_analyze_1): Update uses of struct deps.
> > (sched_analyze_2, sched_analyze_insn): Likewise.
> > (sched_analyze, init_deps): Likewise.
> > (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
> > * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argumen
> t.
> > (compute_block_backward_dependences): Update propagate_deps call.
>
> Hi Richard,
>
> The above change appears to have broken native armv3l-unknown-linux-gnu
> builds. Reverting only the above changes allows the bootstrap to continue
> past the failure below.
>
> I'm getting an ICE in: sched_analyze_2, at sched-deps.c:793
>
> I can send the .i file as well if needed (although it is around 900k
> uncompressed, so maybe not to the list), let me know.
Maybe so, but if you're getting an abort at that location, then something
deeper is wrong.
Luckily I believe I fixed this bug last night.
jeff
>
> Thanks
> -Rms
>
> [build@feynman gcc]$ stage1/xgcc -Bstage1/
> -B/usr/local/armv3l-unknown-linux-gnu/bin/ -c -DIN_GCC -g -O2 -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H
> -I. -If -I/home/build-rpm/BUILD/gcc/gcc -I/home/build-rpm/BUILD/gcc/gcc/f
> -I/home/build-rpm/BUILD/gcc/gcc/config
> -I/home/build-rpm/BUILD/gcc/gcc/../include
> /home/build-rpm/BUILD/gcc/gcc/f/com.c -o f/com.o -v --save-temps
> Reading specs from stage1/specs
> Configured with: /home/build-rpm/BUILD/gcc/configure --enable-debug
> --prefix=/usr/local --enable-shared --enable-threads=posix --without-cvs
> armv3l-unknown-linux-gnu
> gcc version 2.97 20010109 (experimental)
> stage1/cpp0 -lang-c -v -I. -If -I/home/build-rpm/BUILD/gcc/gcc
> -I/home/build-rpm/BUILD/gcc/gcc/f -I/home/build-rpm/BUILD/gcc/gcc/config
> -I/home/build-rpm/BUILD/gcc/gcc/../include -iprefix
> stage1/../lib/gcc-lib/armv3l-unknown-linux-gnu/2.97/ -isystem include
> -isystem stage1/include -isystem
> /usr/local/armv3l-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 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -D__ARM_ARCH_3__ -D__APCS_32__ -D__ARMEL__ -D__arm__
> -DIN_GCC -DHAVE_CONFIG_H /home/build-rpm/BUILD/gcc/gcc/f/com.c com.i
> GNU CPP version 2.97 20010109 (experimental) (cpplib) (ARM GNU/Linux with
> ELF)
> ignoring nonexistent directory "stage1/include"
> ignoring nonexistent directory
> "/usr/local/armv3l-unknown-linux-gnu/bin/include"
> ignoring nonexistent directory
> "lib/gcc-lib/armv3l-unknown-linux-gnu/2.97/include"
> ignoring nonexistent directory "armv3l-unknown-linux-gnu/include"
> ignoring nonexistent directory "/usr/local/include"
> ignoring nonexistent directory
> "/usr/local/lib/gcc-lib/armv3l-unknown-linux-gnu/2.97/include"
> ignoring nonexistent directory
> "/usr/local/armv3l-unknown-linux-gnu/include"
> #include "..." search starts here:
> #include <...> search starts here:
> .
> f
> /home/build-rpm/BUILD/gcc/gcc
> /home/build-rpm/BUILD/gcc/gcc/f
> /home/build-rpm/BUILD/gcc/gcc/config
> /home/build-rpm/BUILD/gcc/include
> include
> /usr/include
> End of search list.
> stage1/cc1 -fpreprocessed com.i -quiet -dumpbase com.c -g -O2 -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -o com.s
> GNU CPP version 2.97 20010109 (experimental) (cpplib) (ARM GNU/Linux with
> ELF)
> GNU C version 2.97 20010109 (experimental) (armv3l-unknown-linux-gnu)
> compiled by GNU C version 2.95.2 20000212 (release) [Rebel.com].
> /home/build-rpm/BUILD/gcc/gcc/f/com.c: In function
> `ffecom_arg_ptr_to_expr':
> /home/build-rpm/BUILD/gcc/gcc/f/com.c:10577: Internal compiler error in
> sched_analyze_2, at sched-deps.c:793
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> [build@feynman gcc]$
>
>