On Thu, Jun 17, 2021 at 10:18:58AM -0500, Bill Schmidt wrote:
> * config/rs6000/rs6000-gen-builtins.c (ovld_stanza): New struct.
> (MAXOVLDSTANZAS): New macro.
> (ovld_stanzas): New variable.
> (curr_ovld_stanza): Likewise.
> (MAXOVLDS): New macro.
> (ovlddata): New struct.
> (ovlds): New variable.
> (curr_ovld): Likewise.
> (max_ovld_args): Likewise.
> (parse_ovld_entry): New function.
> (parse_ovld_stanza): Likewise.
> (parse_ovld): Implement.
> + /* Check for an optional overload id. Usually we use the builtin
> + function id for that purpose, but sometimes we need multiple
> + overload entries for the same builtin id, and it needs to be unique. */
> + consume_whitespace ();
> + if (linebuf[pos] != '\n')
> + {
> + id = match_identifier ();
> + ovlds[curr_ovld].ovld_id_name = id;
> + consume_whitespace ();
> + }
So everything is just strings here, so you do not have any real problem
with conflicting IDs. Okay.
This is fine for trunk as well. Thanks!
Segher