amd64 bootstrap broken

Steven Bosscher stevenb@suse.de
Fri Sep 10 08:44:00 GMT 2004


Hi,

The following test case goes into an infinite loop
using the stage2 compiler of a bootstrap on amd64
with optimization (-O1 and higher):

int
__cmpdi2 (int a, int b)
{
  if (a < b)
    return 0;
  return 2;
}

The problem does not show with the stage1 compiler.

The program goes into an infinite loop during the
out-of-ssa pass:

#0  0x0000000000448399 in tree_find_edge_insert_loc (e=0xa762b8, bsi=0x7fbfffdf90, new_bb=0x0)
    at tree-iterator.h:75
#1  0x00000000004484e8 in bsi_commit_edge_inserts_1 (e=Variable "e" is not available.
) at ../../mainline/gcc/tree-cfg.c:2952
#2  0x0000000000448588 in bsi_commit_edge_inserts (new_blocks=0x0) at ../../mainline/gcc/tree-cfg.c:2933
#3  0x000000000045f14c in rewrite_trees (map=0xa65310, values=0x0)
    at ../../mainline/gcc/tree-outof-ssa.c:1939
#4  0x0000000000460df7 in rewrite_out_of_ssa () at ../../mainline/gcc/tree-outof-ssa.c:2009


Specifically,

#3  0x000000000045f14c in rewrite_trees (map=0xa65310, values=0x0)
    at ../../mainline/gcc/tree-outof-ssa.c:1939
1939      bsi_commit_edge_inserts (NULL);

Gr.
Steven




More information about the Gcc mailing list