Replace std::vector<> usage in ipa-fnsummary.c with GCC's vec<>.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 6 Aug 2020 13:32:28 +0000 (15:32 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 12 Aug 2020 07:28:38 +0000 (09:28 +0200)
commit82c4b78dbef6f03838e3040688c934360a09513f
treea9f14337376752faafbcdbd3f398730773e54941
parent220ffae474db36ba20487427be699f0987a00b0c
Replace std::vector<> usage in ipa-fnsummary.c with GCC's vec<>.

gcc/ChangeLog:

* ipa-fnsummary.c (evaluate_conditions_for_known_args): Use vec<>
instead of std::vector<>.
(evaluate_properties_for_edge): Same.
(ipa_fn_summary_t::duplicate): Same.
(estimate_ipcp_clone_size_and_time): Same.
* vec.h (<T, A, vl_embed>::embedded_size): Change vec_embedded
type to contain a char[].
gcc/ipa-fnsummary.c
gcc/vec.h