This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [options] Allow Var() and Mask() to be used together


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]