+2014-06-17 Richard Biener <rguenther@suse.de>
+
+ * genopinit.c (main): Use vec<>::qsort method.
+ * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
+ Likewise.
+ * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
+
2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com>
* config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
}
/* Sort the collected patterns. */
- qsort (patterns.address (), patterns.length (),
- sizeof (pattern), pattern_cmp);
+ patterns.qsort (pattern_cmp);
/* Now that we've handled the "extra" patterns, eliminate them from
the optabs array. That way they don't get in the way below. */
fprintf (dump_file, " Trying to walk loop body to reduce the bound.\n");
/* Sort the bounds in decreasing order. */
- qsort (bounds.address (), bounds.length (),
- sizeof (widest_int), wide_int_cmp);
+ bounds.qsort (wide_int_cmp);
/* For every basic block record the lowest bound that is guaranteed to
terminate the loop. */
linear. Don't modify the original vector's order, it is needed for
determining what dependencies are reversed. */
vec<data_reference_p> datarefs_copy = datarefs.copy ();
- qsort (datarefs_copy.address (), datarefs_copy.length (),
- sizeof (data_reference_p), dr_group_sort_cmp);
+ datarefs_copy.qsort (dr_group_sort_cmp);
/* Build the interleaving chains. */
for (i = 0; i < datarefs_copy.length () - 1;)