PR ipa/65908
commit3dafd1b4f71f754473b98a3d081fe99258189493
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 2015 07:12:22 +0000 (22 07:12 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 2015 07:12:22 +0000 (22 07:12 +0000)
tree181883c54c895a0afe9404a8d38108c40f3e86c7
parent7097da817729818fd8e3bf4c95ab3cb3b0828448
PR ipa/65908
* ipa-icf.c (sem_item::target_supports_symbol_aliases): Remove
construction of arg_types.
(sem_function::sem_function): Likewise.
(sem_function::~sem_function): Remove destruction of arg_types.
(sem_function::compatible_parm_types_p): New function.
(sem_function::equals_wpa): Reorg matching of return values
and parameter types.
(sem_function::equals_private): Reorg mathcing of argument types.
(sem_function::parse_tree_args): Remove.
* ipa-icf.h (init_wpa): Do not call it.
(parse_tree_args): Remove.
(compatible_parm_types_p): Declare.
(result_type): Remove.
(arg_types): Remove.
* testsuite/g++.dg/ipa/pr65908.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224720 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr65908.C [new file with mode: 0644]