]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR target/58115
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2014 18:25:19 +0000 (18:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2014 18:25:19 +0000 (18:25 +0000)
commit6e5c480bff2a16e3e1632043eb201e4743061dbd
tree37c967d0243784a67a421818ebbbd738909d5f3c
parent9071f223bea07fd5b5cec3b5ad48cad8c25bf9db
PR target/58115
* tree-core.h (struct target_globals): New forward declaration.
(struct tree_target_option): Add globals field.
* tree.h (TREE_TARGET_GLOBALS): Define.
(prepare_target_option_nodes_for_pch): New prototype.
* target-globals.h (struct target_globals): Define even if
!SWITCHABLE_TARGET.
* tree.c (prepare_target_option_node_for_pch,
prepare_target_option_nodes_for_pch): New functions.
* config/i386/i386.h (SWITCHABLE_TARGET): Define.
* config/i386/i386.c: Include target-globals.h.
(ix86_set_current_function): Instead of doing target_reinit
unconditionally, use save_target_globals_default_opts and
restore_target_globals.
c-family/
* c-pch.c (c_common_write_pch): Call
prepare_target_option_nodes_for_pch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206478 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-pch.c
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/target-globals.h
gcc/tree-core.h
gcc/tree.c
gcc/tree.h