This is the mail archive of the
mailing list for the GCC project.
targethook argument names (Was: Re: ChangeLog licensing issues)
Quoting "Joseph S. Myers" <email@example.com>:
I do not see any copyright issues with the hook names and argument types
and names. With the bodies of the descriptions of the semantics of the
hooks (in .texi or comments), yes, but not with the names and types of
hooks and their arguments.
If that is actually the case, then there is a bit more code that I
could consolidate between the struct targetm definition and its
For some hooks, however, we'd have to decide on a single name for
some arguments first:
expression: exp or expr?
FILE *: file or stream?
address: addr or x?
dump file: dump_file or dump?
last_sched_cycle or last_clock?
cur_cycle or clock?
parameter list: params or arglist?
nargs or n_args?
tm_fn or md_fn?
register class: rclass or class