This is the mail archive of the gcc@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]
Other format: [Raw text]

endless loop in compute_inverse bootstrapping on alpha


Hi all,

it seems this patch:
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01364.html

causes gcc to remain in compute_inverse:
alpha1:/proc/12118/cwd# gdb ./cc1 12118
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alpha-linux"...
Attaching to program: /home/obj/alpha/gcc-HEAD/gcc/cc1, process 12118
Reading symbols from /lib/libc.so.6.1...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x12045a4d4 in compute_inverse (order=32)
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/ggc-page.c:1085
1085      while (size % 2 == 0)
Breakpoint 1 at 0x120143858: file
/home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/diagnostic.c, line 1352.
Breakpoint 2 at 0x20000081dac
Breakpoint 3 at 0x2000007ff50
(gdb) bt
#0  0x12045a4d4 in compute_inverse (order=32)
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/ggc-page.c:1085
#1  0x12045a888 in init_ggc ()
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/ggc-page.c:1168
#2  0x120402b14 in general_init (argv0=0x11fffeba8 "./cc1")
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/toplev.c:4729
#3  0x120404010 in toplev_main (argc=24, argv=0x11fffe6d8)
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/toplev.c:5357
#4  0x1200d9818 in main (argc=24, argv=0x11fffe6d8)
    at /home/ritzert/nfs/compile/gcc/HEAD/gcc/gcc/main.c:35

It used 1013:45 minutes of CPU time so far with the following command
line:

./cc1 -quiet -iprefix ./../lib/gcc-lib/alpha-unknown-linux-gnu/3.3/
-isystem
./include-isystem/home/obj/alpha/install/alpha-unknown-linux-gnu/bin/include
-D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D__ELF__
-isystem /home/obj/alpha/install/alpha-unknown-linux-gnu/include
-isystem /home/obj/alpha/install/alpha-unknown-linux-gnu/sys -include
tmp-dum.c -quiet -dumpbase tmp-dum.c -auxbase tmp-dum-o tmp-dum.s

called from

./xgcc -B./ -B/home/obj/alpha/install/alpha-unknown-linux-gnu/bin/
-isystem /home/obj/alpha/install/alpha-unknown-linux-gnu/include
-isystem /home/obj/alpha/install/alpha-unknown-linux-gnu/sys-include -S
tmp-dum.c

This is on alpha-unknown-linux-gnu. The bootstrap on
hppa1.1-hp-hpux11.00 on the same sources is beyond that point.

Michael


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