Re: Accessing result data of target options without Mask or Var properties

2020-07-13 Thread Joseph Myers
On Sat, 11 Jul 2020, The Other via Gcc wrote: > Hi, > How would I access the result data of target options that don't have Mask > or Var properties? For example, how would I access the result ISA string in > the -march option for the RISC-V target? If an option doesn't spec

Accessing result data of target options without Mask or Var properties

2020-07-10 Thread The Other via Gcc
Hi, How would I access the result data of target options that don't have Mask or Var properties? For example, how would I access the result ISA string in the -march option for the RISC-V target? Here is the relevant option code inside the .opt file: march= Target Report RejectNegative J

Re: Target options

2013-07-15 Thread Shiva Chen
rote: >> Hi, >> >> when defining target options with Mask() and "Target" going to >> target_flags. Can I use Init(1) to define the default, or is "Init" >> only used to initialize "Var(name)" kind of options? If so, what's the >> p

Re: Target options

2013-07-15 Thread Hendrik Greving
Along the same lines, what's the difference of target_flags (I know from old compilers) and target_flags_explicit (I do not know)? Thanks, Regards, Hendrik Greving On Mon, Jul 15, 2013 at 10:30 AM, Hendrik Greving wrote: > Hi, > > when defining target options with Mask() and &qu

Target options

2013-07-15 Thread Hendrik Greving
Hi, when defining target options with Mask() and "Target" going to target_flags. Can I use Init(1) to define the default, or is "Init" only used to initialize "Var(name)" kind of options? If so, what's the proper way to define defaults, it wasn't clear t