This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
amd64 bootstrap broken
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc at gcc dot gnu dot org
- Cc: dnovillo at redhat dot com
- Date: Fri, 10 Sep 2004 09:31:19 +0200
- Subject: amd64 bootstrap broken
- Organization: SUSE Labs
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