[PR 77333] Fixup fntypes of gimple calls of clones
2017-03-30 Martin Jambor <mjambor@suse.cz> PR ipa/77333 * cgraph.h (cgraph_build_function_type_skip_args): Declare. * cgraph.c (redirect_call_stmt_to_callee): Set gimple fntype so that it reflects the signature changes performed at the callee side. * cgraphclones.c (build_function_type_skip_args): Make public, renamed to cgraph_build_function_type_skip_args. (build_function_decl_skip_args): Adjust call to the above function. testsuite/ * g++.dg/ipa/pr77333.C: New test. From-SVN: r246589
Showing
- gcc/ChangeLog 10 additions, 0 deletionsgcc/ChangeLog
- gcc/cgraph.c 16 additions, 1 deletiongcc/cgraph.c
- gcc/cgraph.h 2 additions, 0 deletionsgcc/cgraph.h
- gcc/cgraphclones.c 5 additions, 4 deletionsgcc/cgraphclones.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/ipa/pr77333.C 65 additions, 0 deletionsgcc/testsuite/g++.dg/ipa/pr77333.C
Loading
Please register or sign in to comment