re PR ipa/63569 (Wrong code with volatile and ICF)
authorMartin Liska <mliska@suse.cz>
Fri, 19 Dec 2014 12:40:50 +0000 (13:40 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 19 Dec 2014 12:40:50 +0000 (12:40 +0000)
commit6b0e0695a52d1a7f82b2adfe460c79254c361e14
treed45345d53057081d17513f486b39473450d4ffc4
parent1f8d3e84eee6918f3be3e12be67b250840750aeb
re PR ipa/63569 (Wrong code with volatile and ICF)

Fix for PR ipa/63569.

PR ipa/63569
* gcc.dg/ipa/pr63569.c: New test.
PR ipa/63569
* ipa-icf-gimple.c (func_checker::compare_operand): Add missing
comparison for volatile flag.

From-SVN: r218949
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr63569.c [new file with mode: 0644]