OSDN Git Service

PR optimization/11381
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2003 07:30:03 +0000 (07:30 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2003 07:30:03 +0000 (07:30 +0000)
commit73364b4c12598de6a2914097d1641131c7dbacef
tree7e595affeb40107a2fa540e31a6dd8bea9a5cbed
parent6881f9731db0878f916950428bae5aca1ba23048
PR optimization/11381
* simplify-rtx.c (simplify_relational_operation): Check that
two equal operands have no side-effects before simplifying
the comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68869 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/i386-volatile-1.c [new file with mode: 0644]