https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66556
--- Comment #3 from renlin at gcc dot gnu.org --- Author: renlin Date: Mon Jul 13 08:29:46 2015 New Revision: 225729 URL: https://gcc.gnu.org/viewcvs?rev=225729&root=gcc&view=rev Log: [PATCH]Fix PR66556. Don't drop side-effect in simplify_const_relational_operation function. gcc/ 2015-07-13 Renlin Li <renlin...@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...@arm.com> PR rtl/66556 * gcc.c-torture/execute/pr66556.c: New. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr66556.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog