From ebc30bf9fd86dc00dcb902780079cf895f4b16b5 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 30 Jun 2015 11:05:13 +0000 Subject: [PATCH] * gcc.dg/fold-ior-2.c (fn4): Swap operands. From-SVN: r225174 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/fold-ior-2.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8716cd3b9f6..f14bbb11387 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-06-30 Marek Polacek + + * gcc.dg/fold-ior-2.c (fn4): Swap operands. + 2015-06-30 Tom de Vries * gcc.dg/parloops-exit-first-loop-alt-5.c: New test. diff --git a/gcc/testsuite/gcc.dg/fold-ior-2.c b/gcc/testsuite/gcc.dg/fold-ior-2.c index 6abac9ee7b6..41b372d06fa 100644 --- a/gcc/testsuite/gcc.dg/fold-ior-2.c +++ b/gcc/testsuite/gcc.dg/fold-ior-2.c @@ -22,7 +22,7 @@ fn3 (unsigned int x) unsigned int fn4 (unsigned int x) { - return ~x | x; + return x | ~x; } int -- 2.30.2