Make build_vector static
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 7 Dec 2017 18:42:14 +0000 (18:42 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 7 Dec 2017 18:42:14 +0000 (18:42 +0000)
commit44e1aae4dbd8198a26ab0ec5958e073e2c9cc772
tree60d257d4b662ae91e722b64dc3cda843d9e6d11a
parentabe73c3d32b68809628eaa3266bf98cb7352851c
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.

From-SVN: r255479
gcc/ChangeLog
gcc/tree.c
gcc/tree.h