I've build in a unified (symlink) tree, with sourceware stuff checked
out via cvs from date/time D2006.02.07.17.00.00
The last issued command during the build was:
/mnt/scratch/nightly/2006-02-07/i686/./gcc/xgcc
-B/mnt/scratch/nightly/2006-02-07/i686/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
-L/mnt/scratch/nightly/2006-02-07/i686/./ld -c -O2 -g -O2 -I.
-I../../srcw/gdb -I../../srcw/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../srcw/gdb/../include/opcode -I../../srcw/gdb/../readline/..
-I../bfd -I../../srcw/gdb/../bfd -I../../srcw/gdb/../include -I../intl
-I../../srcw/gdb/../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type
-Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith
-Wformat-nonliteral -Wunused-label -Wunused-function -Wno-pointer-sign
-Wuninitialized ../../srcw/gdb/exceptions.c
bash-2.05b$ ps -xguwww|egrep 'cc1|STAT'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
2928 31351 0.5 1.3 32456 28148 pts/0 S 15:16 0:01 gdb
/mnt/scratch/nightly/2006-02-07/i686/./gcc/cc1
2928 19598 99.6 17.6 379240 363632 pts/3 R 01:48 810:13
/mnt/scratch/nightly/2006-02-07/i686/./gcc/cc1 -quiet -I.
-I../../srcw/gdb -I../../srcw/gdb/config
-I../../srcw/gdb/../include/opcode -I../../srcw/gdb/../readline/..
-I../bfd -I../../srcw/gdb/../bfd -I../../srcw/gdb/../include -I../intl
-I../../srcw/gdb/../intl -iprefix
/mnt/scratch/nightly/2006-02-07/i686/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/
-isystem /mnt/scratch/nightly/2006-02-07/i686/./gcc/include
-DLOCALEDIR="/usr/local/share/locale" -DHAVE_CONFIG_H -DMI_OUT=1 -DTUI=1
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include ../../srcw/gdb/exceptions.c
-quiet -dumpbase exceptions.c -march=i686 -auxbase exceptions -g -O2 -O2
-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
-Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function
-Wno-pointer-sign -Wuninitialized -o /tmp/cc4Z5lNr.s
2928 31624 0.0 0.0 3692 656 pts/4 S 15:21 0:00 egrep
cc1|STAT
bash-2.05b$ head -7 i686/config.status
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host linsvr7:
#
# ../srcw/configure --with-arch=i686 --enable-languages=c,c++,java,objc
bash-2.05b$ find i686 -name cc1
i686/prev-gcc/cc1
i686/stage1-gcc/cc1
i686/gcc/cc1
Attaching gdb shows that it loops in execute_pre. After a few finishes:
(gdb) finish
Run till exit from #0 compute_antic_aux (block=0xb5567dc0,
block_has_abnormal_pred_edge=Variable "block_has_abnormal_pred_edge"
is not available.
) at ../../srcw/gcc/tree-ssa-pre.c:1692
execute_pre (do_fre=0 '\0') at ../../srcw/gcc/tree-ssa-pre.c:1731
1731 while (changed)
Value returned is $7 = 1 '\001'
(gdb) bt
#0 execute_pre (do_fre=0 '\0') at ../../srcw/gcc/tree-ssa-pre.c:1731
#1 0x08422364 in execute_one_pass (pass=0x861e880)
at ../../srcw/gcc/passes.c:853
#2 0x0842249f in execute_pass_list (pass=0x861e880)
at ../../srcw/gcc/passes.c:885
#3 0x084224b2 in execute_pass_list (pass=0x861b660)
at ../../srcw/gcc/passes.c:886
#4 0x080e1aa2 in tree_rest_of_compilation (fndecl=0xb5643480)
at ../../srcw/gcc/tree-optimize.c:412
#5 0x08054924 in c_expand_body (fndecl=0xb5643480)
at ../../srcw/gcc/c-decl.c:6689
#6 0x08478682 in cgraph_expand_function (node=0xb5569100)
at ../../srcw/gcc/cgraphunit.c:1101
#7 0x0847af9d in cgraph_optimize () at ../../srcw/gcc/cgraphunit.c:1166
#8 0x0805fecf in c_write_global_declarations ()
at ../../srcw/gcc/c-decl.c:7804
#9 0x083ef7c9 in toplev_main (argc=48, argv=0xbfff8c44)
at ../../srcw/gcc/toplev.c:1012
#10 0x080c03df in main (argc=Cannot access memory at address 0x0
) at ../../srcw/gcc/main.c:35
(gdb) finish
Run till exit from #0 execute_pre (do_fre=0 '\0')
at ../../srcw/gcc/tree-ssa-pre.c:1731