re PR ipa/64963 (IPA Cloning/Splitting does not copy function section attributes…
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
Showing
gcc/testsuite/gcc.dg/ipa/ipa-clone-1.c
0 → 100644
Please
register
or
sign in
to comment