[PATCH]Fix PR66556.
authorRenlin Li <renlin.li@arm.com>
Mon, 13 Jul 2015 08:29:46 +0000 (08:29 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Mon, 13 Jul 2015 08:29:46 +0000 (08:29 +0000)
commit2d87c1d472b4d881024bde41836ed826449e861a
tree122ee52482e8bebf65203d2169c8eac27aaa1b40
parent76d96a5a6f6f0b14967c10166b1577c2bc034d13
[PATCH]Fix PR66556.

[PATCH]Fix PR66556. Don't drop side-effect in
simplify_const_relational_operation function.

gcc/

2015-07-13  Renlin Li  <renlin.li@arm.com>

PR rtl/66556
* simplify-rtx.c (simplify_const_relational_operation): Add
side_effects_p checks.

gcc/testsuite/

2015-07-13  Renlin Li  <renlin.li@arm.com>

PR rtl/66556
* gcc.c-torture/execute/pr66556.c: New.

From-SVN: r225729
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr66556.c [new file with mode: 0644]