ICF is more strict about non-common function and var
authorMartin Liska <mliska@suse.cz>
Sun, 1 Mar 2015 00:13:10 +0000 (01:13 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Sun, 1 Mar 2015 00:13:10 +0000 (00:13 +0000)
commite8fb91a8499ab23527737fe5fa9d72478e3d93b2
treeb32624baede6dc130c452a014b11eb18829b4a1e
parentbbcdfb939d7ef82bd50afe51b1f332f7191e6d27
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.

From-SVN: r221080
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