------- Comment #4 from pinskia at gcc dot gnu dot org 2009-09-23 15:57 ------- I don't think this is a bug as the comparison function causes an unstable sort as NaNs are special and are unordered :).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41448