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/tree-ssa-loop-niter.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/tree-ssa-loop-niter.c')
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 73376bc8e75..36d68a884bb 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -3144,8 +3144,7 @@ discover_iteration_bound_by_body_walk (struct loop *loop) 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. */ |