remove unnecessary calls to vec::release
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Wed, 13 Jul 2016 02:44:59 +0000 (02:44 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Wed, 13 Jul 2016 02:44:59 +0000 (02:44 +0000)
commit4a0e3b5ac35c0f2b2b7b93aee81ddb10a45ff6d3
tree68d440848ec2763264e4694d2d3088d6e6abf11c
parent8c6812476a028328a11c68079d1714c9f81b6279
remove unnecessary calls to vec::release

There's no point in calling release () on an auto_vec just before it goes
out of scope.

gcc/ChangeLog:

2016-07-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* tree-data-ref.c (find_data_references_in_stmt): Remove
unnecessary call to vec::release.
(graphite_find_data_references_in_stmt): Likewise.
* tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): Likewise.
* tree-vect-stmts.c (vectorizable_condition): Likewise.

From-SVN: r238286
gcc/ChangeLog
gcc/tree-data-ref.c
gcc/tree-ssa-alias.c
gcc/tree-vect-stmts.c