2015-02-28 Martin Liska <mliska@suse.cz>
commit551f8dfbf0db17f2373d0f473fdf8f30b7c37bcf
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 2015 07:51:28 +0000 (2 07:51 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 2015 07:51:28 +0000 (2 07:51 +0000)
treee397c5c2d53aa0aefa1972f3451f30c5fdb6453b
parent6357f22cce2f3b02c0649591b80081361fde05b3
2015-02-28  Martin Liska  <mliska@suse.cz>
    Jan Hubicka   <hubicka@ucw.cz>

* ipa-icf.c (sem_variable::equals): Improve debug output;
get variable constructor.
(sem_variable::parse): Do not filter out too early; give up on
volatile and register vars.
(sem_item_optimizer::filter_removed_items): Filter out nonreadonly
variables.
* ipa-icf.h (sem_variable::init): Do not set ctor.
(sem_variable::ctor): Remove.

gcc/testsuite/ChangeLog:

2015-02-28  Martin Liska  <mliska@suse.cz>
    Jan Hubicka   <hubicka@ucw.cz>

* gcc.dg/ipa/ipa-icf-35.c: New test.
* gcc.dg/ipa/ipa-icf-36.c: New test.
* gcc.dg/ipa/ipa-icf-37.c: New test.

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