ipa-fnsummary: Include <vector> the proper way
authorGerald Pfeifer <gerald@pfeifer.com>
Thu, 6 Aug 2020 07:02:15 +0000 (09:02 +0200)
committerGerald Pfeifer <gerald@pfeifer.com>
Thu, 6 Aug 2020 07:02:15 +0000 (09:02 +0200)
commit85245bda63ab4cdad0a7cb0f94e06ad4b9a121d2
treeba62dbb771788cd61279e95e2b1692ac85485cb7
parentdfdf9085d31a1be25cd434328b0ba466c397edb2
ipa-fnsummary: Include <vector> the proper way

This fixes a bootstrap error with clang 10 that would complain
  /usr/include/c++/v1/typeinfo:346:5: error: no member named
  'fancy_abort' in namespace 'std::__1'; did you mean simply
  'fancy_abort'?
It mirrors how this is handled in gcov.c and indirectly includes
<vector> via system.h.

gcc/ChangeLog:

* ipa-fnsummary.c (INCLUDE_VECTOR): Define.
Remove direct inclusion of <vector>.
gcc/ipa-fnsummary.c