diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-02-16 20:22:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-02-16 20:22:57 +0100 |
commit | ed89033d7c15db7bbc3c6c6dfb9495ac263b3a73 (patch) | |
tree | 12b6d76fc0f117c75866f01aa2c9dc3604966d54 /gcc/tree-ssa-threadedge.c | |
parent | 7b909872f15f48482a23e41fe8093cb1f4425c74 (diff) | |
download | gcc-ed89033d7c15db7bbc3c6c6dfb9495ac263b3a73.zip gcc-ed89033d7c15db7bbc3c6c6dfb9495ac263b3a73.tar.gz gcc-ed89033d7c15db7bbc3c6c6dfb9495ac263b3a73.tar.bz2 |
re PR ipa/64963 (IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation)
PR ipa/64963
* cgraphclones.c (cgraph_node::create_virtual_clone): Copy
section if not linkonce. Fix up formatting.
(cgraph_node::create_version_clone_with_body): Copy section.
* trans-mem.c (ipa_tm_create_version): Likewise.
* gcc.dg/ipa/ipa-clone-1.c: New test.
Co-Authored-By: James Greenhalgh <james.greenhalgh@arm.com>
From-SVN: r220742
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
0 files changed, 0 insertions, 0 deletions