Gerald Pfeifer <ger...@pfeifer.com> writes: > 2020-08-05 Gerald Pfeifer <ger...@pfeifer.com> > > * ipa-fnsummary.c (INCLUDE_VECTOR): Define. > Remove direct inclusion of <vector>.
OK, thanks. Richard > diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c > index 49bab04524b..59e52927151 100644 > --- a/gcc/ipa-fnsummary.c > +++ b/gcc/ipa-fnsummary.c > @@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see > inlined performs analysis via its analyze_function method. */ > > #include "config.h" > +#define INCLUDE_VECTOR > #include "system.h" > #include "coretypes.h" > #include "backend.h" > @@ -82,7 +83,6 @@ along with GCC; see the file COPYING3. If not see > #include "gimplify.h" > #include "stringpool.h" > #include "attribs.h" > -#include <vector> > #include "tree-into-ssa.h" > > /* Summaries. */