Re: [4.7] Avoid global state in m32c_handle_option

2011-03-03 Thread DJ Delorie
> Tested building cc1 and xgcc for cross to m32c-elf. Will commit to > trunk for 4.7 in the absence of target maintainer objections. Go for it :-)

[4.7] Avoid global state in m32c_handle_option

2011-03-03 Thread Joseph S. Myers
This patch, for 4.7 and relative to a tree with applied, stops the M32C handle_option hook from using global state. All the hook did was process an integer argument and set a variable to indicate that the option had been used explicitly; th