From: Marek Polacek Date: Tue, 30 Jun 2015 11:05:13 +0000 (+0000) Subject: * gcc.dg/fold-ior-2.c (fn4): Swap operands. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebc30bf9fd86dc00dcb902780079cf895f4b16b5;p=gcc.git * gcc.dg/fold-ior-2.c (fn4): Swap operands. From-SVN: r225174 --- 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