Re: [PATCH 11/55] rs6000: Parsing built-in input file, part 1 of 3

2021-07-19 Thread Segher Boessenkool
Hi! On Thu, Jun 17, 2021 at 10:18:55AM -0500, Bill Schmidt wrote: > +enum bif_stanza > +{ ... > + NUMBIFSTANZAS > +}; Doing "NUM" things like this makes it valid to assign the NUM value to a variable of this enum type, and importantly, the compiler cannot warn for it then. So this is a bit of an

[PATCH 11/55] rs6000: Parsing built-in input file, part 1 of 3

2021-06-17 Thread Bill Schmidt via Gcc-patches
2021-06-07 Bill Schmidt gcc/ * config/rs6000/rs6000-gen-builtins.c (bif_stanza): New enum. (curr_bif_stanza): New variable. (stanza_entry): New struct. (stanza_map): New initialized variable. (enable_string): Likewise. (fnkinds): New enum.

[PATCH 11/55] rs6000: Parsing built-in input file, part 1 of 3

2021-06-08 Thread Bill Schmidt via Gcc-patches
2021-06-07 Bill Schmidt gcc/ * config/rs6000/rs6000-gen-builtins.c (bif_stanza): New enum. (curr_bif_stanza): New variable. (stanza_entry): New struct. (stanza_map): New initialized variable. (enable_string): Likewise. (fnkinds): New enum.