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]
Other format: [Raw text]

Re: Major i386 testsuite regressions on trunk


Jan Hubicka writes:

> This is interesting.  All these tests passes for me and majority of the
> code in patch you point out os not executed yet (it will be once STC
> patch is ready for merging).  What error messages are you seeing?

Judging from the various testsuite results, this seems to happen only for
the i386 configurations, not e.g. i686.

Executing on host: /tmp/gcc-20020511-17:30/gcc/xgcc -B/tmp/gcc-20020511-17:30/gcc/  -w  -Os   -c  -o /tmp/gcc-20020511-17:30/gcc/testsuite/20010117-2.o /vol/gnu/src/gcc/gcc-dated/gcc/testsuite/gcc.c-torture/compile/20010117-2.c    (timeout = 300)
xgcc: Internal error: Segmentation Fault (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
compiler exited with status 1

Running cc1 under gdb reveals what looks like infinite recursion in
try_split (I had to kill cc1 when the recursion depth reached ca. 950 with
no signs of stopping, the SEGV is probably the result of a stack overflow):

Starting program: /tmp/gcc-20020511-17:30/gcc/cc1 -fpreprocessed 20010117-2.i -quiet -dumpbase 20010117-2.c -Os -w -version -o 20010117-2.s
Breakpoint 2 at 0xdfb886f4
Breakpoint 3 at 0xdfb3c01c
GNU CPP version 3.2 20020511 (experimental) (cpplib) (i386 System V Release 4)
GNU C version 3.2 20020511 (experimental) (i386-pc-solaris2.8)
	compiled by GNU C version 3.2 20020511 (experimental).

Program received signal SIGSEGV, Segmentation fault.
0x08244c5d in ggc_alloc (size=12)
    at /vol/gnu/src/gcc/gcc-dated/gcc/ggc-page.c:857
(gdb) (gdb) where
#0  0x08244c5d in ggc_alloc (size=12)
    at /vol/gnu/src/gcc/gcc-dated/gcc/ggc-page.c:857
#1  0x0814d0ad in gen_rtx_fmt_ei (code=SUBREG, mode=SImode, arg0=0x9699260, 
    arg1=0) at genrtl.c:676
#2  0x080f4589 in gen_rtx_SUBREG (mode=SImode, reg=0x9699260, offset=0)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:466
#3  0x08213655 in simplify_subreg (outermode=SImode, op=0x9699260, 
    innermode=QImode, byte=0)
    at /vol/gnu/src/gcc/gcc-dated/gcc/simplify-rtx.c:2428
#4  0x082139f5 in simplify_gen_subreg (outermode=SImode, op=0x9699260, 
    innermode=QImode, byte=0)
    at /vol/gnu/src/gcc/gcc-dated/gcc/simplify-rtx.c:2508
#5  0x080f4dff in gen_lowpart_common (mode=SImode, x=0x9699260)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:865
#6  0x080f4f06 in gen_lowpart (mode=SImode, x=0x9699260)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:1073
#7  0x0818b29d in gen_split_1381 (operands=0x8403d20) at insn-emit.c:19328
#8  0x080f7821 in try_split (pat=0x96992a0, trial=0x846de00, last=1)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:2969
#9  0x080f7893 in try_split (pat=0x9699240, trial=0x846de00, last=1)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:3109
#10 0x080f7893 in try_split (pat=0x96991e0, trial=0x846de00, last=1)
    at /vol/gnu/src/gcc/gcc-dated/gcc/emit-rtl.c:3109

	Rainer


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