This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Prototype of hook for possible list of option values.
On 07/20/2018 12:58 PM, Richard Earnshaw (lists) wrote:
> Modifiers are context dependent. The architecture implies which
> modifiers can be applied (and what they mean in detail, so, for example,
> +fp means enable the default floating point variant for this
> architecture). Not all modifiers apply to all architectures - +fp is
> not permitted on ARMv4t, for example.
I see, that said I would really add just the target hook suggested. It will
help people in bash completions and provide reasonable list in --help output.
More complex approaches are possible, but don't worth in my opinion.
If you agree, I can clean up the API and improve documentatio?
Martin