https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61160

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Fri Jun 27 11:32:00 2014
New Revision: 212070

URL: https://gcc.gnu.org/viewcvs?rev=212070&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:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr61160-2.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr61160-3.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/cgraphclones.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

Reply via email to