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: [PR middle-end/55398] Convert vec<> into a POD


On Tue, Nov 20, 2012 at 2:35 PM, Jakub Jelinek <jakub@redhat.com> wrote:

> 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
>
>         * vec.h (class vec_prefix): Change into struct.
>         Rename field alloc_PRIVATE_ back to alloc_.
>         Rename field num_PRIVATE_ to num_.
>         Update all users.
>         (class vec<T, A, vl_embed>): Rename field pfx_PRIVATE_ to vecpfx_.
>         Rename field data_PRIVATE_ to vecdata_.
>         Update all users.
>         (class vec<T, A, vl_ptr>): Make every field public.
>         Rename field vec_PRIVATE_ back to vec_.
>         Update all users.

Much cleaner.  Thanks.  The patch is OK.


Diego.


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