lto-streamer-out.c (DFS::sccstack): Turn into auto-vec.
authorJan Hubicka <jh@suse.cz>
Wed, 20 Nov 2019 14:10:41 +0000 (15:10 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 20 Nov 2019 14:10:41 +0000 (14:10 +0000)
commit17b95f0ef07b1ae6d380fa1817922b2079e84ac7
treeb032747e40691e526c69b85646e4ae75c87efc57
parentbcb4b4b4baad38d0a9ac353822506fa1d7fb6b25
lto-streamer-out.c (DFS::sccstack): Turn into auto-vec.

* lto-streamer-out.c (DFS::sccstack): Turn into auto-vec.
Preallocate for 32 entries.
(DFS::worklist): Likewise.
(DFS::DFS): Do not initialize sccstack and worklist.
(DFS::~DFS): Do not release sccstack.

From-SVN: r278498
gcc/ChangeLog
gcc/lto-streamer-out.c