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]

new IA32 bootstrap ICE in combine.c


This is new within the last two days and the top-of-tree as of scant
moments ago:

./xgcc -B./ -B/usr/local/i686-pc-udk/bin/ -isystem /usr/local/i686-pc-udk/includ
e -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-proto
types -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I.
-I. -I/play/egcs/gcc -I/play/egcs/gcc/. -I/play/egcs/gcc/config -I/play/egcs/gcc
/../include  -fexceptions -DL_eh -c /play/egcs/gcc/libgcc2.c -o libgcc/./_eh.o
/play/egcs/gcc/libgcc2.c: In function `__sjthrow':
/play/egcs/gcc/libgcc2.c:3515: Internal compiler error in ?, at combine.c:12572
Please submit a full bug report.

It's reproducable on the *.i file with only -O

Breakpoint 2, fancy_abort (file=0x8280dd0 "/play/egcs/gcc/combine.c",
    line=12572, function=0x8280dec "?") at /play/egcs/gcc/diagnostic.c:1722
1722      fatal ("Internal compiler error in %s, at %s:%d",
(gdb) where
#0  fancy_abort (file=0x8280dd0 "/play/egcs/gcc/combine.c", line=12572,
    function=0x8280dec "?") at /play/egcs/gcc/diagnostic.c:1722
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
During symbol reading, type qualifier 'volatile' ignored.
#1  0x8160a12 in distribute_notes (notes=0x85818e0, from_insn=0x8583240,
    i3=0x8583240, i2=0x0, elim_i2=0x8581760, elim_i1=0x0)
    at /play/egcs/gcc/combine.c:12572
#2  0x814fb14 in try_combine (i3=0x8583240, i2=0x857dec0, i1=0x0,
    new_direct_jump_p=0x8047428) at /play/egcs/gcc/combine.c:2603
#3  0x814c157 in combine_instructions (f=0x857d280, nregs=65)
    at /play/egcs/gcc/combine.c:639
#4  0x807e1a9 in rest_of_compilation (decl=0x84f3f80)
    at /play/egcs/gcc/toplev.c:3288
#5  0x8058884 in c_expand_body (fndecl=0x84f3f80, nested_p=0)
    at /play/egcs/gcc/c-decl.c:6816
#6  0x8058777 in finish_function (nested=0) at /play/egcs/gcc/c-decl.c:6737
#7  0x8049d77 in yyparse_1 () at c-parse.y:323
#8  0x804db06 in yyparse () at /play/egcs/gcc/c-lex.c:144
#9  0x807d145 in compile_file (name=0x832643c "libgcc2.i")
    at /play/egcs/gcc/toplev.c:2373
#10 0x8080391 in main (argc=3, argv=0x8047a2c) at /play/egcs/gcc/toplev.c:4857
#11 0x8049491 in _start ()Cannot access memory at address 0x8005400c
(gdb) up
#1  0x8160a12 in distribute_notes (notes=0x85818e0, from_insn=0x8583240,
    i3=0x8583240, i2=0x0, elim_i2=0x8581760, elim_i1=0x0)
    at /play/egcs/gcc/combine.c:12572
12572             abort ();
(gdb) l
12567             break;
12568
12569           default:
12570             /* Any other notes should not be present at this point in the
12571                compilation.  */
12572             abort ();
12573           }
12574
12575         if (place)
12576           {
(gdb) p note
$1 = (struct rtx_def *) 0x85817c0
(gdb) p *note
$2 = {code = EXPR_LIST, mode = CDImode, jump = 0, call = 0, unchanging = 0,
  volatil = 0, in_struct = 0, used = 1, integrated = 0, frame_related = 0,
  fld = 0x85817c4}

A build on native RedHat 6.2/IA32 shows the same behaviour.


robert[ I must have a gift for updating the tree at the worst times. ] l

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