aboutsummaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-06-17 13:15:53 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-06-17 13:15:53 +0000
commit75509ba24a8732f2da7fd118e7e85dab104ed3ff (patch)
tree9ac9098188b835b6e26267572eddf69cab90d555 /gcc/genopinit.c
parente58b74ea3d6f27dc6e3f2022f12d1711a94f5a07 (diff)
downloadgcc-75509ba24a8732f2da7fd118e7e85dab104ed3ff.zip
gcc-75509ba24a8732f2da7fd118e7e85dab104ed3ff.tar.gz
gcc-75509ba24a8732f2da7fd118e7e85dab104ed3ff.tar.bz2
genopinit.c (main): Use vec<>::qsort method.
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. From-SVN: r211738
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index 77932ad..ef7f674 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -357,8 +357,7 @@ main (int argc, char **argv)
}
/* 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. */