On Sat, Jan 11, 2014 at 12:16 PM, Peter Bergner <berg...@vnet.ibm.com> wrote: > After Jakub changed i?386/x86_64 to use SWITCHABLE_TARGET, he asked me to > look at changing rs6000 too. Here's the rs6000 patch, which is basically > identical to the i386.[hc] change Jakub made. This passed bootstrap and > regtesting on powerpc64-linux with no regressions. Ok for mainline? > > Peter > > > * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define. > * config/rs6000/rs6000.c: Include target-globals.h. > (rs6000_set_current_function): Instead of doing target_reinit > unconditionally, use save_target_globals_default_opts and > restore_target_globals.
No. Sorry, Peter, I wish that you had not done this because you duplicated work that I already had done. David