Make build_vector static
commitc9672a9da31e7db93882933745bdaf7134d80979
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2017 18:42:14 +0000 (7 18:42 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2017 18:42:14 +0000 (7 18:42 +0000)
tree60d257d4b662ae91e722b64dc3cda843d9e6d11a
parentdb39ad9df686cdf74ec95efdf5ad843e5c9652ac
Make build_vector static

The only remaining uses of build_vector are in the selftests in tree.c.
This patch makes it static and moves it to the selftest part of the file.

2017-12-07  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* tree.c (build_vector): Delete.
* tree.h (build_vector): Make static and move into the self-testing
block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree.c
gcc/tree.h