This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Follow-up to the last gengtype patch: handle DEF_VEC_A in gengtype
- From: Laurynas Biveinis <laurynas dot biveinis at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 Aug 2012 15:39:44 +0300
- Subject: Re: [PATCH] Follow-up to the last gengtype patch: handle DEF_VEC_A in gengtype
- References: <501680EF.1050902@gmail.com>
Ping?
2012/7/30 Laurynas Biveinis <laurynas.biveinis@gmail.com>:
> I only remembered to add DEF_VEC_A handlgin to gengtype.c a second after committing the previous patch [1].
>
> Here it is, done as a follow up. With some luck, this will be short-lived code because of the C++ conversion.
>
> Bootstrapped and regtested on x86_64 linux. OK for trunk?
>
> 2012-07-30 Laurynas Biveinis <laurynas.biveinis@gmail.com>
>
> * gengtype.h (enum gc_vec_type_kind): New.
> List individual vector kinds in the token codes.
> * gengtype-lex.l: Handle DEF_VEC_A, DEF_VEC_O, DEF_VEC_P,
> DEF_VEC_I individually.
> * gengtype-parse.c (token_names): Replace "DEF_VEC_[OP]" with
> individual vector token names.
> (def_vec): handle vector token types separately.
> (parse_file): handle the new vector token types.
> * gengtype.c (note_def_vec): remove is_scalar argument, introduce
> vec_type_argument instead. Create GTY option and resolve the
> vector element type according to vec_type_argument value.
>
--
Laurynas