re PR bootstrap/43870 (ICE in gcc/config/soft-fp/divtf3.c)

PR bootstrap/43870
	* df-scan.c (df_ref_compare): Stabilize sort.

From-SVN: r159627
This commit is contained in:
Kenneth Zadeck 2010-05-20 12:08:34 +00:00 committed by Rainer Orth
parent 335ee5ee8f
commit 043200a81c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-19 Kenneth Zadeck <zadeck@naturalbridge.com>
PR bootstrap/43870
* df-scan.c (df_ref_compare): Stabilize sort.
2010-05-20 Jakub Jelinek <jakub@redhat.com>
PR target/44074

View File

@ -2308,7 +2308,7 @@ df_ref_compare (const void *r1, const void *r2)
if (DF_REF_EXTRACT_MODE (ref1) != DF_REF_EXTRACT_MODE (ref2))
return DF_REF_EXTRACT_MODE (ref1) - DF_REF_EXTRACT_MODE (ref2);
}
return 0;
return (int)DF_REF_ORDER (ref1) - (int)DF_REF_ORDER (ref2);
}
static void