OSDN Git Service

PR tree-optimization/21574
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Aug 2005 07:27:47 +0000 (07:27 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Aug 2005 07:27:47 +0000 (07:27 +0000)
commitb765fa129d4ba80701673ad3a26cd98fb255517c
treef3af9a3da3ad3d027544e4a1675247dac1d70538
parente47fc71e5ed8c3ab100b417cc0d7c79d95698863
PR tree-optimization/21574
* tree-ssa-ccp.c (likely_value): If the right hand side is a
constant, return CONSTANT.
(ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal.
(ccp_fold, visit_assignment): Likewise.
(evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103206 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr21574.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c