Re: sync up new type indices for body adjustments

2021-07-21 Thread Martin Jambor
Hi, On Wed, Jul 21 2021, Alexandre Oliva wrote: > On Jul 19, 2021, Martin Jambor wrote: > >> So I would first check how come that you request IPA_PARAM_OP_COPY of >> something that does not seem to have a corresponding type but there is >> a DECL > > The corresponding type is there all right, it

Re: sync up new type indices for body adjustments

2021-07-21 Thread Alexandre Oliva
On Jul 19, 2021, Martin Jambor wrote: > So I would first check how come that you request IPA_PARAM_OP_COPY of > something that does not seem to have a corresponding type but there is > a DECL The corresponding type is there all right, it was just stored in a different vector entry, because some

Re: sync up new type indices for body adjustments

2021-07-19 Thread Martin Jambor
Hi, On Tue, Jul 13 2021, Alexandre Oliva wrote: > The logic in fill_vector_of_new_param_types may skip some parameters > when pushing into m_new_types, but common_initialization doesn't take > that into account, and may end up attempting to access the vector past > its end when IPA_PARAM_OP_(NEW|S