On Thu, Jun 17, 2021 at 10:19:01AM -0500, Bill Schmidt wrote: > 2021-06-07 Bill Schmidt <wschm...@linux.ibm.com> > > gcc/ > * config/rs6000/rs6000-gen-builtins.c > (write_autogenerated_header): New function. > (write_decls): Likewise. > (write_extern_fntype): New callback function. > (write_header_file): Implement.
> + /* #### Cannot mark this as a GC root because only pointer types can > + be marked as GTY((user)) and be GC roots. All trees in here are > + kept alive by other globals, so not a big deal. Alternatively, > + we could change the enum fields to ints and cast them in and out > + to avoid requiring a GTY((user)) designation, but that seems > + unnecessarily gross. */ Quite :-) Maybe you want to print that as a comment to the generated file as well? It makes more sense there. Okay for trunk. Thanks! Segher