* gimple-ssa-store-merging.c (sort_by_bitpos): Return 0 on equal bitpos.
From-SVN: r250394
-2017-07-18 Jan Hubicka <hubicka@ucw.cz>
+2017-07-20 Alexander Monakov <amonakov@ispras.ru>
+
+ * gimple-ssa-store-merging.c (sort_by_bitpos): Return 0 on equal bitpos.
+
+2017-07-20 Jan Hubicka <hubicka@ucw.cz>
* bb-reorder.c (connect_traces): Allow copying of blocks within
single partition.
store_immediate_info *const *tmp = (store_immediate_info * const *) x;
store_immediate_info *const *tmp2 = (store_immediate_info * const *) y;
- if ((*tmp)->bitpos <= (*tmp2)->bitpos)
+ if ((*tmp)->bitpos < (*tmp2)->bitpos)
return -1;
else if ((*tmp)->bitpos > (*tmp2)->bitpos)
return 1;
-
- gcc_unreachable ();
+ else
+ return 0;
}
/* Sorting function for store_immediate_info objects.