This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [options] Allow Var() and Mask() to be used together
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Apr 2005 22:37:13 +0100
- Subject: Re: [options] Allow Var() and Mask() to be used together
- References: <200504260217.j3Q2HOSa002774@greed.delorie.com>
Your message didn't give any justification, so...
DJ Delorie <dj@redhat.com> writes:
> * optc-gen.awk (END): Make sure no variable is defined more
> than once.
> * opth-gen.awk (END): Allocate bits on a per-variable basis.
> Allow for bitfield variables other than target_flags.
> * doc/options.text (Mask): Document that you may specify a
> variable other than target_flags.
>
> Tested on x86_64 linux (quickstrap'd stage3 after adding some test
> options).
...why? Do you really have > 31 masks that need to be controlled
by the configury machinery? If not, you can just use Var(...)s.
(And that was the reason why I started on the target .opt thing
in the first place.)
Anyway, your patch doesn't sit well with options.c, which manipulates
target_flags_explicit as well.
Richard