This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR 53528 c++/ C++11 Generalized Attribute support


On 07/26/2012 08:19 AM, Dodji Seketeli wrote:
> +      attributes_table->scoped = XRESIZEVEC (struct scoped_attributes,
> +					     attributes_table->scoped,
> +					     attributes_table->len + 1);

A good clue that you want VEC's instead, with VEC_safe_push.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]