]> git.ipfire.org Git - thirdparty/gcc.git/commit
ICF is more strict about non-common function and var
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Mar 2015 00:13:10 +0000 (00:13 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Mar 2015 00:13:10 +0000 (00:13 +0000)
commit2f3662f2e4302bf548d4ac4de6871a926bc57f43
treeb32624baede6dc130c452a014b11eb18829b4a1e
parent97ccb5175498e2de71247ed19685e7fee5e9335e
ICF is more strict about non-common function and var

* ipa-icf-gimple.c (func_checker::compare_variable_decl):
Validate variable alignment.
* ipa-icf.c (sem_function::equals_private): Be more precise
about non-common function attributes.
(sem_variable::equals): Likewise.
* gcc.target/i386/stackalign/longlong-2.c: Omit ICF.
* g++.dg/ipa/pr63595.C: Update expected results.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221080 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr63595.C
gcc/testsuite/gcc.target/i386/stackalign/longlong-2.c