]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR target/52555
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2013 00:04:49 +0000 (00:04 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2013 00:04:49 +0000 (00:04 +0000)
commit08c7d04b22fcecc819cd9aa910beaafd416aca2a
tree7a29bd18e10dbd4f5b64765ae5b8f07a5bda81db
parent19426fe11f824ba4a15e79cb09934e173b0296ed
PR target/52555
* genopinit.c (raw_optab_handler): Use this_fn_optabs.
(swap_optab_enable): Same.
(init_all_optabs): Use argument instead of global.
* tree.h (struct tree_optimization_option): New field
target_optabs.
* expr.h (init_all_optabs): Add argument to prototype.
(TREE_OPTIMIZATION_OPTABS): New.
(save_optabs_if_changed): Protoize.
* optabs.h: Declare this_fn_optabs.
* optabs.c (save_optabs_if_changed): New.
Declare this_fn_optabs.
(init_optabs): Add argument to init_all_optabs() call.
* function.c (invoke_set_current_function_hook): Handle per
function optabs.
* function.h (struct function): New field optabs.
* config/mips/mips.c (mips_set_mips16_mode): Handle when
optimization_current_node has changed.
* target-globals.h (save_target_globals_default_opts): Protoize.
* target-globals.c (save_target_globals_default_opts): New.
c-family/
* c-common.c (handle_optimize_attribute): Call
save_optabs_if_changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196129 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/config/mips/mips.c
gcc/expr.h
gcc/function.c
gcc/function.h
gcc/genopinit.c
gcc/optabs.c
gcc/optabs.h
gcc/target-globals.c
gcc/target-globals.h
gcc/testsuite/gcc.c-torture/compile/pr52555.c [new file with mode: 0644]
gcc/tree.h