This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r206478 - in /trunk/gcc: ChangeLog c-family/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 09 Jan 2014 18:25:19 -0000
- Subject: r206478 - in /trunk/gcc: ChangeLog c-family/Cha...
Author: jakub
Date: Thu Jan 9 18:25:19 2014
New Revision: 206478
URL: http://gcc.gnu.org/viewcvs?rev=206478&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-pch.c
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/target-globals.h
trunk/gcc/tree-core.h
trunk/gcc/tree.c
trunk/gcc/tree.h