]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-into-ssa.c (gate_into_ssa): New.
authorJan Hubicka <jh@suse.cz>
Sat, 14 Sep 2013 15:27:21 +0000 (17:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 14 Sep 2013 15:27:21 +0000 (15:27 +0000)
commitafdec9bd067cffe3242fe256e547dc5733006b2c
tree44cbc571bf525f510cf558c4af549858eb78da92
parent7b86458e38ee3c88ca4e222c85ef6fa883267315
tree-into-ssa.c (gate_into_ssa): New.

* tree-into-ssa.c (gate_into_ssa): New.
(pass_data_build_ssa): Use it.
* cgraph.h (expand_thunk): Update prototype.
* cgraphunit.c (analyze_function): Expand thunks early.
(expand_thunk): Fix DECL_CONTEXT of reust_decl;
build proper cgraph; set in_ssa_p; clear bogus TREE_ASM_WRITTEN;
set lowered flag; do not add new function.
(assemble_thunks_and_aliases): Update.
* tree-ssa.c (gate_init_datastructures): New gate.
(pass_data_init_datastructures): Use it.

From-SVN: r202592
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphunit.c
gcc/tree-into-ssa.c
gcc/tree-ssa.c