------- Comment #6 from zadeck at naturalbridge dot com 2010-05-19 13:41 ------- I have a deadline and do not have time to play with this. The comparison function in df-scan.c, df_ref_compare, is not stable according to what has been discussed in pr42157. however, it does satisfy the definition of qsort in the linux manuals.
if you need it to be that stable for those platforms, then change the last line of df_ref_compare from "return 0;" to be return (int)DF_REF_ORDER (ref1) - (int)DF_REF_ORDER (ref2); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870