diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-17 13:15:53 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-17 13:15:53 +0000 |
commit | 90a2d741679ab7bd9718d871f28e2cae8c189305 (patch) | |
tree | 9ac9098188b835b6e26267572eddf69cab90d555 /gcc/genopinit.c | |
parent | a4e3876b86baa354cdc8999519d8b32b6132eb66 (diff) | |
download | gcc-90a2d741679ab7bd9718d871f28e2cae8c189305.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r-- | gcc/genopinit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c index 77932ad3545..ef7f674d09b 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. */ |