https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61160
--- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Fri Jun 27 13:29:09 2014 New Revision: 212071 URL: https://gcc.gnu.org/viewcvs?rev=212071&root=gcc&view=rev Log: 2014-06-27 Martin Jambor <mjam...@suse.cz> PR ipa/61160 * cgraphclones.c (duplicate_thunk_for_node): Removed parameter args_to_skip, use those from node instead. Copy args_to_skip and combined_args_to_skip from node to the new thunk. (redirect_edge_duplicating_thunks): Removed parameter args_to_skip. (cgraph_create_virtual_clone): Moved computation of combined_args_to_skip... (cgraph_clone_node): ...here, simplify it to bitmap_ior.. testsuite/ * g++.dg/ipa/pr61160-2.C: New test. * g++.dg/ipa/pr61160-3.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/ipa/pr61160-2.C trunk/gcc/testsuite/g++.dg/ipa/pr61160-3.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphclones.c trunk/gcc/testsuite/ChangeLog