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]

gcc 20000801 ICE at flow.c:5002 (find_auto_inc)


The following ICE occurs building libgcc:

./xgcc -B./ -B/usr/local/vax-dec-ultrix4.3/bin/ -isystem /usr/local/vax-dec-ultrix4.3/include -O2   -DIN_GCC    -g -W -Wall  -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -DUSE_COLLECT2 -DL_bb -c ../../gcc/libgcc2.c -o libgcc/./_bb.o
../../gcc/libgcc2.c:1348: warning: function declaration isn't a prototype
../../gcc/libgcc2.c: In function `__bb_exit_func':
../../gcc/libgcc2.c:1545: warning: implicit declaration of function `time'
../../gcc/libgcc2.c: In function `__bb_trace_func':
../../gcc/libgcc2.c:2208: Internal compiler error in find_auto_inc, at flow.c:5002
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_bb.o] Error 1
make[3]: Leaving directory `/usr/local/src/gnu/gcc-2.96/objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/usr/local/src/gnu/gcc-2.96/objdir/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/local/src/gnu/gcc-2.96/objdir/gcc'
make: *** [bootstrap-lean] Error 2

Here is some debug info:

Breakpoint 4, find_auto_inc (pbi=0x4663f8, x=0x45f290, insn=0x460260)
    at ../../gcc/flow.c:5002
5002        abort ();
(gdb) p debug_rtx(y)
(plus:SI (reg:SI 69)
    (const_int 1 [0x1]))
$1 = void
(gdb) p debug_rtx(addr)

(reg/v:SI 21)
$2 = void
(gdb) p debug_rtx(insn)

(insn 111 108 112 (set (reg:SI 69)
	(mem/s:SI (plus:SI (reg/v:SI 21)
		(const_int 12 [0xc])) 22)) 18 {movsi} (nil)
    (nil))
$3 = void
(gdb) p offset
$4 = 12
(gdb) p regno
$5 = 21
(gdb) p debug_rtx(set)

(set (mem/s:SI (plus:SI (reg/v:SI 21)
            (const_int 12 [0xc])) 22)
    (plus:SI (reg:SI 69)
	(const_int 1 [0x1])))
$6 = void
(gdb) p debug_rtx(incr)

(insn 112 111 113 (set (mem/s:SI (plus:SI (reg/v:SI 21)
                (const_int 12 [0xc])) 22)
	(plus:SI (reg:SI 69)
	    (const_int 1 [0x1]))) 49 {addsi3} (insn_list 111 (nil))
    (expr_list:REG_DEAD (reg:SI 69)
	(nil)))
$7 = void

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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