Re: x86 option handling cleanup, use more .opt features

2011-05-13 Thread Jan Hubicka
> > Various options with enumerated string arguments are changed to use > Enum. Some checking of those arguments was still needed, because the > valid values depend on e.g. the -m64 setting, but that checking now > works with the enumerated values not strings. I didn't change the > existing logi

x86 option handling cleanup, use more .opt features

2011-05-12 Thread Joseph S. Myers
This patch cleans up x86 option handling to use .opt features where possible for options with string arguments, instead of decoding those strings in ix86_option_override_internal. (The only options with string arguments that may be generated through target attributes are -march=, -mtune= and -mfpm