diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-07 15:26:41 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-07 15:26:41 +0000 |
commit | 2265e215571fd9926b1f84ff5517908f3f086c6f (patch) | |
tree | ae0eeb8d5f106c50db965c409b749196672c49cf /gcc/target-globals.c | |
parent | a762176583d807705d11b6f583c601393894ec0f (diff) | |
download | gcc-2265e215571fd9926b1f84ff5517908f3f086c6f.tar.gz |
gcc/
PR target/58115
* target-globals.c (save_target_globals): Remove this_fn_optab
handling.
* toplev.c: Include optabs.h.
(target_reinit): Temporarily restore the global options if another
set of options are in force.
gcc/testsuite/
* gcc.target/i386/intrinsics_4.c (bar): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-globals.c')
-rw-r--r-- | gcc/target-globals.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/target-globals.c b/gcc/target-globals.c index 2cfe257d567..f2281ddba04 100644 --- a/gcc/target-globals.c +++ b/gcc/target-globals.c @@ -68,7 +68,6 @@ struct target_globals * save_target_globals (void) { struct target_globals *g; - struct target_optabs *saved_this_fn_optabs = this_fn_optabs; g = ggc_alloc_target_globals (); g->flag_state = XCNEW (struct target_flag_state); @@ -88,10 +87,8 @@ save_target_globals (void) g->bb_reorder = XCNEW (struct target_bb_reorder); g->lower_subreg = XCNEW (struct target_lower_subreg); restore_target_globals (g); - this_fn_optabs = this_target_optabs; init_reg_sets (); target_reinit (); - this_fn_optabs = saved_this_fn_optabs; return g; } |