On 9/28/22 00:35, Richard Sandiford via Gcc-patches wrote:
I have a patch that adds a typedef to aarch64's -opts.h.
The typedef is used for a TargetVariable in the .opt file,
which means that it is covered by PCH and so needs to be
visible to gengtype.
-opts.h is not included directly in tm.h,
I have a patch that adds a typedef to aarch64's -opts.h.
The typedef is used for a TargetVariable in the .opt file,
which means that it is covered by PCH and so needs to be
visible to gengtype.
-opts.h is not included directly in tm.h, but indirectly
by target headers (in this case aarch64.h). Th